A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.npmjs.org/package/react-router-ext below:

react-router-ext - npm

An Example usage react-router-ext.

const routeList = [

 

 {

   path: '/',

   component: Home,

   exact: true,

 },

 

 

 {

   path: '/',

   component: Home,

   exact: true,

   wrapper: AuthComponent,

 },

 

 {

   path: '/',

   component: Home,

   exact: true,

   wrapper: AuthComponent,

   routes: [

     {

       path: '/article',

       component: Article,

       exact: true,

       routes: [

         {

           path: '/categories',

           component: Category,

           exact: true,

         },

       ]

     },

   ]

 }

 

]

 

ReactDOM.render(<MainRoute routes={routeList}/>, node)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4