-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I downloaded react-starter-kit intl with upgraded version and i get error with route null.
I was using previus version with webpack v1.And there is working well!
As i test using keyword debugger the error happen in routes with children, because 1st it goes to this code
code 1st
async action({ next }) {
// Execute each child route until one of them return the result
const route = await next(); //null
// Provide default values for title, description etc.
route.title = `${route.title || 'Untitled Page'} - www.reactstarterkit.com`;
route.description = route.description || '';
return route;
},
and after that it goes here
code2ond
export default {
path: '/news',
children: [
{
path: '/',
async action({ path, store }) {
return .....
},
{
path: '*',
async action({ path, store }) {
return .....
},
]
but it should be backwards. code2nd -> code1st.
Am i missing something with this new version?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working