DEV Community

# router

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
How to build a Router with vanilla JavaScript

How to build a Router with vanilla JavaScript

239
Comments 11
5 min read
🔐 Private Route in React Router v6

🔐 Private Route in React Router v6

228
Comments 61
3 min read
JWT Authentication in React with react-router

JWT Authentication in React with react-router

221
Comments 28
10 min read
Build a very basic SPA JavaScript router

Build a very basic SPA JavaScript router

115
Comments 9
5 min read
How To Add Styling To An Active Link In NextJS

How To Add Styling To An Active Link In NextJS

105
Comments 27
2 min read
How to Use Nested Routes in React Router 6

How to Use Nested Routes in React Router 6

85
Comments 7
6 min read
Vue Router - The Complete Guide

Vue Router - The Complete Guide

58
Comments
8 min read
React Router Tutorial: Adding Navigation to your React App

React Router Tutorial: Adding Navigation to your React App

56
Comments 1
8 min read
Testing Angular routing components with the RouterTestingModule

Testing Angular routing components with the RouterTestingModule

54
Comments 3
18 min read
Systemizing Router-Based Animations in Angular

Systemizing Router-Based Animations in Angular

47
Comments
10 min read
Passing State to Components Rendered by React Router (and Other Fun Things)

Passing State to Components Rendered by React Router (and Other Fun Things)

46
Comments 8
4 min read
Testing Angular route guards with the RouterTestingModule

Testing Angular route guards with the RouterTestingModule

43
Comments 12
24 min read
Writing server with http package. Understanding Mux and Handler concept by writing own RESTful Mux.

Writing server with http package. Understanding Mux and Handler concept by writing own RESTful Mux.

41
Comments 1
9 min read
Explore Angular Router's runGuardsAndResolvers

Explore Angular Router's runGuardsAndResolvers

35
Comments 2
2 min read
The difference between the canActivate and canActivateChild guards

The difference between the canActivate and canActivateChild guards

34
Comments
3 min read
Multiple Layout In React Router

Multiple Layout In React Router

31
Comments 5
2 min read
Animating Route Transitions Using React Router

Animating Route Transitions Using React Router

30
Comments
5 min read
Create configurable Angular guards

Create configurable Angular guards

26
Comments 1
5 min read
React Router 6.4 Code-Splitting

React Router 6.4 Code-Splitting

22
Comments 1
4 min read
Organizing with express.Router()

Organizing with express.Router()

22
Comments
5 min read
New PHP router wich is 7 to 15 times faster then Symfony router

New PHP router wich is 7 to 15 times faster then Symfony router

21
Comments 5
2 min read
Deliver a better user experience using Vue.js Router 🛣️

Deliver a better user experience using Vue.js Router 🛣️

21
Comments
8 min read
Building a Router component for Glimmer.js

Building a Router component for Glimmer.js

20
Comments
9 min read
Building A PHP Routing System

Building A PHP Routing System

19
Comments
2 min read
A Really Simple Intro to React Router

A Really Simple Intro to React Router

18
Comments
2 min read
Comparing React Router 5, 6, and React Location

Comparing React Router 5, 6, and React Location

18
Comments 1
4 min read
Router in plain JS

Router in plain JS

17
Comments 2
1 min read
slick-router: a powerful router for web components

slick-router: a powerful router for web components

16
Comments
6 min read
Routing using react-router-dom

Routing using react-router-dom

16
Comments 2
6 min read
Testing routed components with RouterTestingHarness

Testing routed components with RouterTestingHarness

16
Comments 2
4 min read
Building a Cat Facts app with Vue Router in Vue 3!

Building a Cat Facts app with Vue Router in Vue 3!

15
Comments
6 min read
Bind Route Info to Component Inputs (New Router feature)

Bind Route Info to Component Inputs (New Router feature)

14
Comments 2
6 min read
Basic ReactJS Interview Questions

Basic ReactJS Interview Questions

14
Comments
4 min read
React Router: testing "location.state"

React Router: testing "location.state"

13
Comments 3
1 min read
A crash course to Angular

A crash course to Angular

13
Comments
8 min read
React Router v6 Tutorial in 15 Minutes

React Router v6 Tutorial in 15 Minutes

13
Comments
1 min read
Angular: "Unsaved Changes Will be Lost" Route Confirmation

Angular: "Unsaved Changes Will be Lost" Route Confirmation

12
Comments 2
9 min read
React Router: Basics

React Router: Basics

12
Comments 2
5 min read
TIL - React Router 2: Dynamic URL Parameters

TIL - React Router 2: Dynamic URL Parameters

12
Comments 2
2 min read
How to write a VanillaJS Router

How to write a VanillaJS Router

11
Comments 3
2 min read
Openshift behind a proxy with SSL termination

Openshift behind a proxy with SSL termination

11
Comments 1
2 min read
New achivements of Mezon PHP Framework

New achivements of Mezon PHP Framework

11
Comments
1 min read
How to control router access permissions in Golang web application

How to control router access permissions in Golang web application

10
Comments
2 min read
Angular Router: Children or LoadChildren?

Angular Router: Children or LoadChildren?

10
Comments 2
3 min read
React Router Dom Essentials

React Router Dom Essentials

9
Comments 2
6 min read
Testing routed Angular components with the RouterTestingModule

Testing routed Angular components with the RouterTestingModule

9
Comments
14 min read
Animating Angular Route Transitions

Animating Angular Route Transitions

9
Comments
7 min read
Understanding Express.js Router (Node.js): A Comprehensive Guide

Understanding Express.js Router (Node.js): A Comprehensive Guide

9
Comments
3 min read
Testing Angular routing components with RouterTestingHarness, provideLocationMocks, and provideRouter

Testing Angular routing components with RouterTestingHarness, provideLocationMocks, and provideRouter

8
Comments 2
5 min read
A First Look at Oak

A First Look at Oak

8
Comments 1
6 min read
Medusa storefront with multiple vendors

Medusa storefront with multiple vendors

8
Comments 1
3 min read
New benchmark: Mezon Router is up to 931 times faster then Rareloop Router

New benchmark: Mezon Router is up to 931 times faster then Rareloop Router

8
Comments
2 min read
How to use router inside axios interceptors. React and Vue

How to use router inside axios interceptors. React and Vue

7
Comments
3 min read
How to scroll to the top while using react-router-dom

How to scroll to the top while using react-router-dom

7
Comments
1 min read
New PHP router wich is 30 to 50 times faster then Laravel router

New PHP router wich is 30 to 50 times faster then Laravel router

7
Comments 5
1 min read
Mezon PHP Framework : results of the 2021 year

Mezon PHP Framework : results of the 2021 year

7
Comments
2 min read
PSR-7 routes processing in Mezon Router

PSR-7 routes processing in Mezon Router

7
Comments
1 min read
Reverse patterns to URL. React router Config.

Reverse patterns to URL. React router Config.

7
Comments
2 min read
Introducing React Router

Introducing React Router

7
Comments
3 min read
Let's build a simple Javascript Router

Let's build a simple Javascript Router

7
Comments 1
3 min read
loading...