From the course: Build Modern Web Apps with React, Hooks, State Management, and APIs Using Vite or Next.js

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Introduction to SPAs and benefits

Introduction to SPAs and benefits

Hi, and welcome to module number six. In this module, we are going to learn about routing in react applications. And for routing, we are going to use the react router library. Let's start off with our lesson number one. And over here, we are going to know that what our client side routing and how react router is going to help us. For understanding the routing, we first have to understand what is a SPA, as known as single-page application and what are the benefits of that. Understanding this relation is very important if you do not have an idea about this. So I'm going to briefly explain this and then we are going to move forward how we can deal with routing in react applications. The single page applications are web applications that loads a single HTML page and dynamically the content is going to change upon user clicking on multiple links. The page content gets dynamically updated based on the page that the user has interacted with and has selected on the screen. The React's method,…

Contents