between-pages
between-pages copied to clipboard
Fails when the second page is using a global context
In my project, the second screen is fetching the data from a context. There are no issues if I go to the second screen using:
navigation.navigate()
However, if I use the BetweenPages animation, the app crashes with the message:
ERROR TypeError: Cannot read property '<context name>' of undefined
From my investigation, it seems as if the transition is failing to use the useContext hook.
Please look into it @HubertRyanOfficial .