markdalgleish / redial

Universal data fetching and route lifecycle management for React etc.
1.1k stars 42 forks source link

Filter out routes with undefined components #10

Closed cameronhunter closed 8 years ago

cameronhunter commented 8 years ago

Routes can have undefined components:

<Route path="/">
  <IndexRoute component={Home} />
  <Route path="/:page" component={Page} />
</Route>

This patch filters them out.

markdalgleish commented 8 years ago

Thanks!