React Router v4 introduced a new declarative, component based approach to routing. With that approach came some confusion around nested routes. In this post we'll break down that confusion and you'll learn how to nest routes with React Router.
When building an app with React Router, eventually you'll run into the question of navigating programmatically. Because of the churn that React Router has gone through in the last few years, there are a lot of outdated, and frankly incorrect tutorials out there. The goal of this post is to break down the correct approaches to programmatically navigating with React Router.
Often time when building an app with React Router, you want to have a 'catch all' route which will render if none of the other routes match. In this post, we'll learn how to do just that by breaking down the 'No Match (404)' example from the React Router docs.
URL parameters are a fundamental aspect of React Router and a fundamental aspect of building web applications. In this post, we'll break down the 'URL Parameters' example on the React Router documentation to learn how you to effectively leverage URL parameters in your React app.
React Router v4 introduces a new dynamic, component based approach to routing. In this post, we'll talk about the philosophies behind React Router and give an introduction to the syntax by breaking down the 'Basic' example on the React Router docs.
Protected routes are an important part of any web application. In this article, you'll learn how to create authenticated routes (routes that only certain users can access based on their authentication status) using React Router.
Template literals are like strings on steroids. In this video, we'll look at the main benefits of template literals including string interpolation and multiline strings.
In this video you'll learn how ES6's (ES2015) Default Parameters allow you to set default values for any arguments that are undefined when a function is invoked. You'll also learn how to use Default Parameters to make certain arguments required.