replaceState
1 2 3 4 | 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
class
components that extendReact.Component
. It may be removed entirely in a future version of React.
Please login to continue.