Please provide the following:
- SDK Version:
- Platforms(iOS/web): ios and web
- Add the appropriate “Tag” based on what Expo library you have a question on.
I installed react-router-dom from here because i’m using useParams in the PlayerContext. React Router: Declarative Routing for React.js
I’m getting: Error: Invalid hook call. Hooks can only be called inside of the body of a function component
useEffect has a missing dependency, which can be found in the code sand box attached.
Here’s the file getting the error: react native test - CodeSandbox
any direction would be appreciated!