null is not an object (dispatcher.useContext)
Saad9624 opened this issue · 6 comments
After Spending tons of hours I've managed to integerate well that is compatible with reanimated library now when ever I import motiView component inside the app the error pops in
evaluating dispatcher.useContext
Expected Behavior
No response
Steps To Reproduce
Just Import Motiview inside App
Versions
- Moti: 0.16.0
- Reanimated: 2.2.3
- React Native: 0.66.2
Screenshots
I recommend using newer versions (reanimated 2.8, moti 0.18, maybe RN 0.68)
I recommend using newer versions (reanimated 2.8, moti 0.18, maybe RN 0.68)
latest reanimated version causing many problems with other set of animations.
i think you need a yarn resolution for react’s version. see the issue i linked to
Thanks for the prompt response.
Really appreciate that.
Although I'm already using this command while npm.
but running this command again resolved the issue. Thanks
npm i --legacy-peer-deps