DEV Community

Cover image for Create contextual modal navigation with React Router V6.

Create contextual modal navigation with React Router V6.

Mamun Ligzer on April 15, 2022

I'm currently (April 2022) creating a side-project using ReactJs. I have taken inspiration from various existing popular websites like Twitter, Fac...
Collapse
 
irenebosque profile image
Irene Bosque

Thanks for the tutorial !👏I was looking exactly how to achieve this

Collapse
 
muhamedoosma profile image
MOHA

is it possible to create this with 'createBrowserRouter' route?

Collapse
 
iamdete profile image
Roselle Tabuena

Hello, I created a blog how to make it work in createBrowserRouter. Hope it helps.

dev.to/roselle_tabuena/how-to-impl...

Collapse
 
adenisov profile image
adenisovgit

same question here. Still can't find info how to open two routes using data router.

Collapse
 
kafkaww profile image
kafka

have you guys found a solution yet?

Thread Thread
 
ligzer_dev profile image
Mamun Ligzer

I've been busy for the past year - I suggest you read the official documentation - I'll write about it when I'm free.

Thread Thread
 
donahldstump profile image
Donald Stump

nothing in the officials docs for whatever reasons

Collapse
 
godwinagedah profile image
Godwin Agedah

How can i achieve this with nested routes

Collapse
 
kpripper profile image
kpripper

Hello! Why can the background component rerender when I close the modal window?

Collapse
 
saadbitar profile image
Saad Bitar

How to make nested Modal Routes. Like for Authentication (Login, Signup, Onboarding, forgot password...)

Collapse
 
itiseternity profile image
Slava Lavrov • Edited

What for do we need background object, if we already render background using Outlet component?