News for hackers. Stuff that matters.
Re:Removing User Interface Complexity, or Why React is Awesome by mercer on Wednesday May 14, 2014 @06:53AM (#7743053)
If you keep it client-side: you turn the server-side data into json, then pass that to the renderComponent function (in a script tag or whatnot). Inside your component, you'd use this data in the getInitialState function to set the state of this component (which could pretty much be the whole page).

Does that answer your question?

There are no comments on this comment yet.