unirakun / k-redux-router

redux router (with react bindings) - one route = one code
8 stars 1 forks source link

not found #14

Open fabienjuif opened 6 years ago

fabienjuif commented 6 years ago

Exemple

  '/': {
    code: 'main',
    '/login': { code: 'login' },
    '/profile': { code: 'profile' },
    '/search': { code: 'search' },
    '/projects': {
      code: 'projects',
      routeNotFound: 'projectNotFound',
      '/404': {
        code: 'projectNotFound',
      },
      '/:id': {
        code: 'project',
        '/setup': { code: 'setup' },
        '/summary': { code: 'summary' },
        '/measures': { code: 'measures' },
        '/symptoms': { code: 'symptoms' },
        '/diagnostics': { code: 'diagnostics' },
      },
    },
  },
}
fabienjuif commented 6 years ago

I am writing a first version @AFaugeras

image

export default forRoute.notFound()(Component)