between-pages icon indicating copy to clipboard operation
between-pages copied to clipboard

Fails when the second page is using a global context

Open amalthomas-exe opened this issue 1 year ago • 2 comments

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 .

amalthomas-exe avatar Aug 01 '23 15:08 amalthomas-exe