Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Full-Stack React Projects

You're reading from   Full-Stack React Projects Learn MERN stack development by building modern web apps using MongoDB, Express, React, and Node.js

Arrow left icon
Product type Paperback
Published in Apr 2020
Publisher Packt
ISBN-13 9781839215414
Length 716 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Shama Hoque Shama Hoque
Author Profile Icon Shama Hoque
Shama Hoque
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Getting Started with MERN
2. Unleashing React Applications with MERN FREE CHAPTER 3. Preparing the Development Environment 4. Building MERN from the Ground Up
5. Building a Backend with MongoDB, Express, and Node 6. Adding a React Frontend to Complete MERN 7. Growing the Skeleton into a Social Media Application 8. Developing Web Applications with MERN
9. Building a Web-Based Classroom Application 10. Exercising MERN Skills with an Online Marketplace 11. Extending the Marketplace for Orders and Payments 12. Adding Real-Time Bidding Capabilities to the Marketplace 13. Advancing to Complex MERN Applications
14. Integrating Data Visualization with an Expense Tracking Application 15. Building a Media Streaming Application 16. Customizing the Media Player and Improving SEO 17. Developing a Web-Based VR Game 18. Making the VR Game Dynamic using MERN 19. Going Forward with MERN
20. Following Best Practices and Developing MERN Further 21. Other Books You May Enjoy

Rendering a home page view

To demonstrate how to implement a functional frontend for this MERN skeleton, we will start by detailing how to render a simple home page at the root route of the application, before covering backend API integration, user auth integration, and implementing the other view components in the rest of this chapter.

The process of implementing and rendering a working Home component at the root route will also expose the basic structure of the frontend code in the skeleton. We will start with the top-level entry component that houses the whole React app and renders the main router component, which links all the React components in the application.

In the following sections, we will begin implementing the React frontend. First, we will add the root React component, which is integrated with React Router and Material-UI and configured for hot reloading. We will...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime