April 2020
Intermediate to advanced
716 pages
18h 55m
English
For each React component implementation, we need to import the libraries, modules, and files being used in the implementation code. The component file will start with imports from React, Material-UI, React Router modules, images, CSS, API fetch, and the auth helpers from our code, as required by the specific component. For example, for the Home component code in Home.js, we use the following imports.
mern-skeleton/client/core/Home.js:
import React from 'react'import { makeStyles } from '@material-ui/core/styles'import Card from '@material-ui/core/Card'import CardContent from '@material-ui/core/CardContent'import CardMedia from '@material-ui/core/CardMedia'import Typography from '@material-ui/core/Typography'import unicornbikeImg from ...Read now
Unlock full access