O'Reilly logo

Learning Web Development with React and Bootstrap by Mehul Bhatt, Harmeet Singh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Nested routes

OK, we have done with creating layout specific components, but we still need to look at how we can create nested routes for them so that the components are passed into parents with props. This is important, so as to allow a level of dynamism within our EIS application. Here is our HTML, showing what it looks like now:

<!doctype html> <html lang="en">     <head>         <meta charset="utf-8">         <title>React Router - Sample application with bootstrap</title>         <link rel="stylesheet" href="css/bootstrap.min.css">         <link rel="stylesheet" href="css/font-awesome.min.css">         <link rel="stylesheet" href="css/custom.css">     </head>     <body>         <div id="nav"></div>         <div id="reactapp"></div>         ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required