March 2019
Beginner to intermediate
324 pages
7h 17m
English
Let's start with writing the React component that represent the My Orders page. There are two components involved with the My Orders page:
Let's begin with the single order card component. Here is how it looks:

Create a new file called orders.js inside the src folder. In there, we'll write our new components. At the top of the file, we need to import React:
import React from 'react';
For the single order card component, let's call it simply Order. This component will be simple. Since it will be contained within a parent container ...
Read now
Unlock full access