replaceState
void replaceState( object nextState, [function callback] )
Like setState() but deletes any pre-existing state keys that are not in nextState.
This method is not available on ES6
classcomponents that extendReact.Component. It may be removed entirely in a future version of React.
Please login to continue.