Closed cameronhunter closed 8 years ago
Can I ask why any of your components in the array would be undefined?
Yeah, sure – the component would be undefined in this situation:
<Route path="/">
<IndexRoute component={Home} />
<Route path="/:page" component={Page} />
</Route>
The outer <Route>
would have an undefined component.
Oh, cool, that makes perfect sense. I'll try and get a patch out for this soon.
Haha, sorry, just realised this is a PR. The code in master has changed a bit, would you mind updating your PR?
I've created a new pull request: #10
Please merge.
I was getting
TypeError: Cannot read property 'fetchers' of undefined
and this fixed it.4 might be related, same error.