News for hackers. Stuff that matters.
Re:Removing User Interface Complexity, or Why React is Awesome by rebelidealist on Tuesday May 13, 2014 @05:03PM (#7740686)
Can you please explain how to store data from the server on a "root component"?

The data portion is the main reason I was looking at Angular.

Thank you.

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?