You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will this not have a detrimental effect on app performance if we are forced to go all the way to rendering before we initiate reducers? A lot of rendering in our apps rely on data being fetched so that we can know what to display. Either locally or through the network it's going to be async and take time.
Is this the correct way to do it with v4 or is the author of the rnrfSample wrong? Can we continue to initiate the store before defining a ReduxRouter with it's corresponding Scene structures?
The text was updated successfully, but these errors were encountered:
As far as I know when you are using Actions.create, no render happens (correct me if I'm wrong) - you just create appropriated navigator. Rendering will happen only when you are use that navigator within render (what Router does). So I don't see any bad effect on app performance.
Okey, v3 didn't have real two-way support of redux - i.e. you were able just to subscribe to nav events. If it is your way you don't need to change anything - check Example project, it works in the same way as with v3.
v4 introduced real two-way support of redux - it means you can change nav state from your reducers now. But to calculate initial navigation state for reducer, it is necessary to process all your scenes first - that is why you need to declare reducers/store after scene processing.
Trying to upgrade to v4 we stumbled upon issue #2170 where you mention
rasmniel/rnrfSample
as a good starting point and modify that example.One thing we got stuck on is the comment it is important to load reducers AFTER actions.create (so no import here) which confuses us.
Will this not have a detrimental effect on app performance if we are forced to go all the way to rendering before we initiate reducers? A lot of rendering in our apps rely on data being fetched so that we can know what to display. Either locally or through the network it's going to be async and take time.
Is this the correct way to do it with v4 or is the author of the rnrfSample wrong? Can we continue to initiate the store before defining a ReduxRouter with it's corresponding Scene structures?
The text was updated successfully, but these errors were encountered: