-
-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No node equivalent for renderStoreHydrationData #504
Comments
* Had to work around no shared store support * See shakacode/react_on_rails#504
This makes no sense client-side IMO. If I want a universally shared store I can implement the entire thing in one LOC: window.mySharedStore = mySharedStore; Done, shared store |
* Had to work around no shared store support * See shakacode/react_on_rails#504
* Had to work around no shared store support * See shakacode/react_on_rails#504
Is this for the case where I have a store I created using server-side rendering with We (very) nearly had this use-case today, but ended up fixing the issue that was preventing us from rendering our component server-side. |
@joffotron This issue is only relevant if you want to use a node server to mock out your APIs and use the same files that you use with React on Rails. |
* Had to work around no shared store support * See shakacode/react_on_rails#504
* Had to work around no shared store support * See shakacode/react_on_rails#504
We have the
ReactOnRails.render
function for components.However, if one is using a shared store and wants to do
redux_store_hydration_data
orredux_store
, there is no equivalent JS call.I'm probably going to skip doing this unless somebody really wants this.
And here is the JS code for render:
The text was updated successfully, but these errors were encountered: