May 2017
Intermediate to advanced
388 pages
7h 30m
English
Let's start with the container components:

The App.js will be nothing more than a wrapper for the whole app. In there, we will render a NavBar and a bootstrap class container where we will render all children components passed to the component:
import React from 'react'import NavBar from '../components/NavBar'const App = ({children}) => ( <div> <NavBar/> <div className="container"> {children} </div> </div>)export default App
Read now
Unlock full access