Homework #5
Instructions
- Feynman Writing Prompts - Write out explanations of the following concepts like you are explaining it to a 12 year old. Doing this will help you quickly discover any holes in your understanding. Ask your questions on Slack.
- match
- match.params & route parameters
- hoisting
- Fork and clone this repo.
- Create a boilerplate React app called store.
create-react-app store
- Navigate into /store and run the command:
npm start
App.js
should return the<Router />
component as the base.- Add a header to the top of your page with two
<Link />
components. - Create two components that will be two different "pages" that you will render.
- The first comopnent should be called
<Home />
and should display basic info about the store you are creating. - The second comopnent should be called
<Products />
and should display a list of products. - When you click on a product you should be taken to an individual product page. Example:
/products/:productId
- You will setup the unique path using route parameters.
Congratulations on finishing Homework #5!
For more information about our part-time and full-time courses visit: https://www.lambdaschool.com LambdaSchool's full-time class is now tuition guaranteed.