1.0.0 • Published 5 years ago

history-dispatcher v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

HistoryDispatcher

Use this in a Frame to fire a load event when URL is changed by React Router.

Example:

ReactDOM.render(
    <Provider store={configureStore()}>
      <Router>
        <Switch>
          <Route path='/home' component={Home} />
          <Route path='/help' component={Help} />
        </Switch>
        <HistoryDispatcher />
      </Router>
    </Provider>,
    document.getElementById('root'),
  )
1.0.0

5 years ago