Force a React Component to Re-Render

The beauty of React components is that they automagically render and update based on a change in state or props; simply update the state from any place and suddenly your UI element updates — awesome!  There may be a case, however, where you simply want to brute force a fresh render of a React component. […]
The post Force a React Component to Re-Render appeared first on David Walsh Blog.

Link: https://davidwalsh.name/react-force-render