You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ! I am a beginner in ReactJs, Today I was following a Youtube Tutorial on how to create a Tinder App and I Got Stuck in this Error, When I remove the following Code block from the Code the app works fine:
Interesting I have actually seen the exact same issue but for the useParams hook from react-router-dom.
I think the issue is related to this facebook/react#14257
The way I managed to solve the problem for them was to:
Make a copy of your folder
Delete your project folder
Create a new react app with npx create-react-app YOURAPPNAME
Copy the folder src from your old folder to the new project.
Run yarn add PACKAGENAME for all packages you had used.
Run yarn start
From what I have understood this seems to be an issue with mixing npm and yarn.
For some people simply deleting the lock files and node_modules and redownloading them worked but it didn't work for the people I helped with this.
Hi ! I am a beginner in ReactJs, Today I was following a Youtube Tutorial on how to create a Tinder App and I Got Stuck in this Error, When I remove the following Code block from the Code the app works fine:
But Whenever I add it back I Get this Error:

This is my CODE:
Any Help would be highly appreciated
The text was updated successfully, but these errors were encountered: