Update component when location is same
$ npm install --save react-reload-component
# or
$ yarn add react-reload-component
import { ReloadComponent } from 'react-reload-component'
<ReloadComponent
location={this.props.location}
onReload={() => {
// tslint:disable-next-line:no-console
console.log('reloaded')
}}
>
<div className='Foo' />
</ReloadComponent>,
MIT © bang