DEV Community

# reactrouter

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Relative Paths

Relative Paths

Comments
2 min read
🧭 Mastering the `useNavigate` Hook in React Router: A Complete Guide 🚀

🧭 Mastering the `useNavigate` Hook in React Router: A Complete Guide 🚀

1
Comments
3 min read
Getting Started with React Router: A Beginner's Guide

Getting Started with React Router: A Beginner's Guide

1
Comments
1 min read
Lazy Loading Components in React Router: A Step-by-Step Guide

Lazy Loading Components in React Router: A Step-by-Step Guide

1
Comments
1 min read
Dynamic Routes and Parameters in React Using React Router

Dynamic Routes and Parameters in React Using React Router

1
Comments
1 min read
React Router v5 vs v6: Key Differences Explained

React Router v5 vs v6: Key Differences Explained

Comments
2 min read
createBrowserRouter A step up from Switch

createBrowserRouter A step up from Switch

7
Comments
5 min read
🔍 Unleashing the Potential of useBlocker Hook in React Router 🚀

🔍 Unleashing the Potential of useBlocker Hook in React Router 🚀

4
Comments
1 min read
URL path and react-router dynamic segment

URL path and react-router dynamic segment

1
Comments
2 min read
React Router: Navigating Between Pages in Single-Page Applications

React Router: Navigating Between Pages in Single-Page Applications

2
Comments
3 min read
Sync React State with URL Search Parameters

Sync React State with URL Search Parameters

9
Comments 1
3 min read
Get out of state management hell with automatic revalidation

Get out of state management hell with automatic revalidation

5
Comments 7
5 min read
React Router Migration From V5 to V6: A Comprehensive Guide 🚀

React Router Migration From V5 to V6: A Comprehensive Guide 🚀

Comments
3 min read
Why React Router's new data APIs boost productivity

Why React Router's new data APIs boost productivity

3
Comments
2 min read
types of React Router

types of React Router

Comments
2 min read
Fix Error 404 when Refreshing a route with React Router

Fix Error 404 when Refreshing a route with React Router

Comments 1
2 min read
useLocation Hook in React Router

useLocation Hook in React Router

1
Comments
5 min read
Link Component in React Router

Link Component in React Router

6
Comments
7 min read
Basic Auth Routing and Redirecting using React Router v6

Basic Auth Routing and Redirecting using React Router v6

Comments 2
7 min read
Solving the 404 Error in React + React Router Projects: A Comprehensive Guide

Solving the 404 Error in React + React Router Projects: A Comprehensive Guide

19
Comments 1
2 min read
Scroll to anchor element with React Router V6 (hash links, anchor links)

Scroll to anchor element with React Router V6 (hash links, anchor links)

25
Comments 4
1 min read
Choosing the Best Approach: React Router vs. Conditional Rendering for Multi-Step Forms

Choosing the Best Approach: React Router vs. Conditional Rendering for Multi-Step Forms

1
Comments
4 min read
React Router v6

React Router v6

1
Comments
3 min read
React Router: A comprehensive guide for beginners

React Router: A comprehensive guide for beginners

7
Comments
4 min read
Mastering React Router: The Ultimate Guide to Navigation and Routing in React Apps!

Mastering React Router: The Ultimate Guide to Navigation and Routing in React Apps!

7
Comments
4 min read
How to pass and access data from one route to another with useLocation, useNavigate, useHistory hooks.

How to pass and access data from one route to another with useLocation, useNavigate, useHistory hooks.

43
Comments 4
3 min read
Some Problems I Face When Building React Single Page Application And How I Solve Them

Some Problems I Face When Building React Single Page Application And How I Solve Them

1
Comments
4 min read
React Router v6.4 tutorial

React Router v6.4 tutorial

1
Comments
2 min read
Code-Splitting in React Router v6.4 without flicker using React.lazy and Suspense

Code-Splitting in React Router v6.4 without flicker using React.lazy and Suspense

2
Comments 2
2 min read
Auth Guarding in react

Auth Guarding in react

13
Comments
1 min read
React Router 6 Deferred Fetch

React Router 6 Deferred Fetch

35
Comments 3
5 min read
A Marketer's Take on Client-Side Routing with React Router

A Marketer's Take on Client-Side Routing with React Router

3
Comments
5 min read
Code Splitting with React Router v6, React Lazy and Suspense (in simple terms)

Code Splitting with React Router v6, React Lazy and Suspense (in simple terms)

21
Comments 4
5 min read
React Router 6 send data from link to target page

React Router 6 send data from link to target page

6
Comments
1 min read
Testing React Apps that use React Router

Testing React Apps that use React Router

14
Comments
8 min read
React-Router v6: Animated Transitions DIY

React-Router v6: Animated Transitions DIY

34
Comments 12
2 min read
Build dynamic breadcrumb routes and child routes with matchPath in React Router v6

Build dynamic breadcrumb routes and child routes with matchPath in React Router v6

10
Comments
8 min read
Responsive navbar using React

Responsive navbar using React

9
Comments
1 min read
What is React & React Router & How to use CSS in react?

What is React & React Router & How to use CSS in react?

6
Comments
3 min read
What's new changes and features in React Router v6.

What's new changes and features in React Router v6.

4
Comments
3 min read
React Router v6 - What's new?

React Router v6 - What's new?

10
Comments
2 min read
React Router V5 vs V6

React Router V5 vs V6

248
Comments 17
4 min read
Protected routes in react with react router and redux

Protected routes in react with react router and redux

15
Comments 2
4 min read
Authorization Guards with React Router

Authorization Guards with React Router

196
Comments
1 min read
Testing navigation in react

Testing navigation in react

9
Comments
2 min read
FED Talk! Episode 3: Setting Up Routes in React

FED Talk! Episode 3: Setting Up Routes in React

3
Comments
9 min read
Basic Guide to use React Router v6

Basic Guide to use React Router v6

129
Comments 6
3 min read
Implementing ActiveLink in Next.js and Chakra

Implementing ActiveLink in Next.js and Chakra

9
Comments 3
2 min read
Custom React Router Prompt

Custom React Router Prompt

12
Comments 4
2 min read
Exact path in react-router

Exact path in react-router

1
Comments
1 min read
Learn React-router like a PRO 😎

Learn React-router like a PRO 😎

29
Comments 1
4 min read
Link, NavLink or useHistory?

Link, NavLink or useHistory?

8
Comments 1
1 min read
Stop URL from changing, using react-router

Stop URL from changing, using react-router

9
Comments
2 min read
React-Router - Video#2

React-Router - Video#2

4
Comments
1 min read
React-Router: Animated Transitions DIY

React-Router: Animated Transitions DIY

26
Comments 4
2 min read
Detect Page Refresh, Tab Close and Route Change with React Router v5

Detect Page Refresh, Tab Close and Route Change with React Router v5

123
Comments 4
5 min read
URL as an Application State

URL as an Application State

11
Comments 3
5 min read
How to style your React-Router links using styled-components

How to style your React-Router links using styled-components

74
Comments 6
5 min read
React Bootstrapping - Quick Start with Typescript, Linting, Redux & Router

React Bootstrapping - Quick Start with Typescript, Linting, Redux & Router

20
Comments
6 min read
Go With Reach Router? Starting today? WTF?!?

Go With Reach Router? Starting today? WTF?!?

6
Comments 3
3 min read
loading...