You don't have to go full React. The component lifecycle events, especially componentDidMount and componentDidUpdate, are good places to put your
Fetch data in componentDidMount. When the response arrives, store the data in state, triggering a render to update your UI. When
componentWillReceiveProps isn't triggered after the node is put on scene. This is by design. Check out other lifecycle methods for the one that suits your needs
This entry shows how to attach DOM events not provided by React (check here for more info)
Usually, a component's children (this.props.children) is an array of components: var
When specifying a pixel value for your inline style prop, React automatically appends the string "px" for you after your number value, so this works:
In JSX, <MyComponent /> alone is valid while <MyComponent> isn't. All tags must be closed, either with the self-closing format or with
Page 2 of 2