Chapter 18. Project: Building a bookstore with React Router

This chapter covers

  • Project structure and Webpack configuration
  • The host HTML file
  • Creating components
  • Launching the project

The project in this chapter focuses mainly on demonstrating how to use React Router, some ES6 features, and Webpack. In this project, you’ll build a simple e-commerce storefront for a bookstore (figure 18.1).

Figure 18.1. Nile Book Store home page with a list of books

You’ll learn how to create browser routing, as well as the following techniques for working with React Router:

  • How to pass data to a route and access it
  • How to access URL parameters

Get React Quickly now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.