A
A
Arainay2018-12-23 08:01:32
macOS
Arainay, 2018-12-23 08:01:32

Why doesn't a new project with React Hooks work on OS X?

Hey! Maybe a stupid question, but I didn't find a solution. I recently switched to mac and ran into a strange problem - React hooks in new projects do not work. useState, useEffect, useContext - not a function. It gets ridiculous - I transfer the project from Windows to Mac - everything works, I create exactly the same project with the same versions of libraries on Mac - not a function.
What am I doing wrong?
Thank you in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arainay, 2018-12-23
@Arainay

Problem solved, details in comments

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question