Load External Data in React
Load External Data in React
BY Chris Coyier
Fetch data in componentDidMount. When the response arrives, store the data in state, triggering a render to update your UI.
https://facebook.github.io/react/tips/initial-ajax.html
demo
See the Pen Load External Data in React by Chris Coyier (@chriscoyier) on CodePen.