component.forceUpdate(callback)

Calling forceUpdate() will cause render() to be called on the component, skipping shouldComponentUpdate(). This will trigger the normal lifecycle methods for child components, including the shouldComponentUpdate() method of each child. React will still only update the DOM if the markup changes.


RESETRUNFULL
class MyComponent extends React.Component {
   handleButtonClick = ()=>{
      this.forceUpdate();
   }
   render() {
      return (<div>{Math.random()}
                          <button
  onClick={this.handleButtonClick}>
                              Click me
                          </button>
                 </div>)
   }}

'callback' will be called after the update.