text: import ac from 'components/AsyncComponent';
  
  export function configureRoutes(store) {
  
      return [{
          path: '/',
          component: ac(() => import('containers/Root'), store),
          routes: [{
              path: '/js-learning',
              component: ac(() => import('containers/app/JSLearning'), store),
              routes: [{
                  path: '/js-learning/dynamic-programming',
                  component: ac(() => import('containers/app/modules/DynamicProgramming'), store)
              }, {
                  path: '/js-learning/react-suspense',
                  component: ac(() => import('containers/app/modules/ReactSuspense'), store)
              }, {
                  path: '/js-learning/kmp',
                  component: ac(() => import('containers/app/modules/KMP'), store)
              }]
          }]
      }];
  
  }
  
  export const DEFAULT_ROUTE = '/js-learning';
  