React.cloneElement ReactElement cloneElement( ReactElement element, [object props]
ReactDOM.render render( ReactElement element, DOMElement container, [function callback]
replaceState void replaceState( object nextState, [function callback] )
if-else statements don't work inside JSX. This is because JSX is just syntactic sugar for function calls and object construction. Take this basic example:
CDN-hosted React We provide CDN-hosted versions of React on our download page. These pre-built files use the UMD
getDOMNode DOMElement getDOMNode() If this component
Updating: componentDidUpdate void componentDidUpdate( object prevProps, object prevState
Updating: shouldComponentUpdate boolean shouldComponentUpdate( object nextProps, object
After building your component, you may find yourself wanting to "reach out" and invoke methods on component instances returned from render(). In most cases, this
forceUpdate void forceUpdate( [function callback] ) By
Page 1 of 10