• React Digest
  • Posts
  • JWT Authentication in React with react-router

JWT Authentication in React with react-router

#409 – June 05, 2023

In this blog post, we'll explore the seamless integration of JWT authentication with React and react-router. We'll also learn how to handle public routes, secure authenticated routes, and utilize the axios library to make API requests with the authentication token.

Build native email read and send functionalities with React in less than 30 minutes. Nylas offers ready-to-go sample apps, actually helpful docs, and so much more. You'll be able to launch communications features within your app in just minutes. Grab your link to join this week's technical demo.

As we celebrate a decade of React, let's take a moment to appreciate the amazing community of developers who have contributed to this remarkable library over the years.

This component lets you render content that follows your mouse. The component accepts any children, and renders them into a fixed-position div that takes the coordinates of the mouse, with optional offsets.

A collection of modern, server-safe React hooks.

Let's see an example of how unit testing is important. Let's say we have a add function in an application that we use in our calculator application. This add function accepts two parameters, and these parameters should be a number.

Trace the evolution of React APIs and the mental models behind them. From mixins to hooks, to RSCs, understand the tradeoffs along the way.

newsletters