April 2020
Intermediate to advanced
716 pages
18h 55m
English
The custom React components that we will create to make up the user interface will be accessed with the frontend routes specified in the MainRouter component. Essentially, this component houses all the custom views that have been developed for the application and needs to be given the theme values and routing features. This component will be our core component in the root App component, which is defined in the following code.
mern-skeleton/client/App.js:
import React from 'react'import MainRouter from './MainRouter'import {BrowserRouter} from 'react-router-dom'import { ThemeProvider } from '@material-ui/styles'import theme from './theme'const App = () => { return ( <BrowserRouter> ...Read now
Unlock full access