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
I have isomorphic react components that render serverside, but I haven't found a 'good' way to seed the stores in the browser with the state provided from the server.
In my app's initialization method on the client I am directly passing the state data to what should be a private update method on the store before rendering my react components. Is there a best practice for accomplishing this?
The text was updated successfully, but these errors were encountered:
You can create a stateData manager for each group of react components or create a global one, these will handle providing state data to the stores. And allows easy change and maintainability
I have isomorphic react components that render serverside, but I haven't found a 'good' way to seed the stores in the browser with the state provided from the server.
In my app's initialization method on the client I am directly passing the state data to what should be a private update method on the store before rendering my react components. Is there a best practice for accomplishing this?
The text was updated successfully, but these errors were encountered: