replaceProps
void replaceProps( object nextProps, [function callback] )
Like setProps() but deletes any pre-existing props instead of merging the two objects.
This method is deprecated and will be removed soon. This method is not available on ES6
classcomponents that extendReact.Component. Instead of callingreplaceProps, try invoking ReactDOM.render() again with the new props. For additional notes, see our blog post about using the Top Level API
Please login to continue.