acdlite / redux-router

Redux bindings for React Router – keep your router state inside your Redux store
MIT License
2.3k stars 200 forks source link

Fix: Don't throw when match is used with an unknown location #153

Closed AlexMeah closed 8 years ago

AlexMeah commented 8 years ago

The following currently throws but it should be possible to use match with unknown urls

const routes = (
  <Route path="/" component={App}>
    <Route path="child/" component={Child} />
  </Route>
);

store.dispatch(server.match('/404', () => {}))
AlexMeah commented 8 years ago

Dupe #122