effectussoftware / react-custom-roulette

Repository for the react-custom-roulette library
MIT License
322 stars 114 forks source link

Problem with the hook call :( #32

Closed HugoGDRM closed 2 years ago

HugoGDRM commented 3 years ago

When i try to launch your example i got this error `Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:

  1. You might have mismatching versions of React and the renderer (such as React DOM)
  2. You might be breaking the Rules of Hooks
  3. You might have more than one copy of React in the same app See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`
HugoGDRM commented 3 years ago

I search for many solutions but nothing is working, thanks for your help

Acarvajal904 commented 2 years ago

In order to launch the example you need to go to the example folder and perform a yarn install, then you can run yarn start to see the example.

If this doesn't work please provide more information regarding the issue.

luchozamora1 commented 2 years ago

Added some documentation on how to run the example app. You can check it here.

Let me know if it fixes the issues, closing for now.