Replies: 1 comment
-
Re-renders aren’t triggered across screens when the context changes,
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi... I'm trying to understand how this component works I seen the part about context I found the following example:
This is fine but this will create a new context for every new Component used as a screen right? What happens when I need to use global contexts that are used by all screens like the most common ones (i18next, redux, react-native-elements)?: For example my App looks like this right now:
Because I'm using react-router I just put the screen inside.. but how this library works I dont know how to achieve that. Or do i Need to add those all contexts for every screen?
Beta Was this translation helpful? Give feedback.
All reactions