TanStackT
TanStack8mo ago
3 replies
faint-white

How to handle modals (query params, or <outlet />

Hi, I am coming from Next js and how we used to handle modals by using Nuqs package (query params) - so that modals can persist in the url.

However, i am not sure if this is possible with tanstack router.

Do you have any experience in how u render your modals?

Right now i am using Zustand and have a modalprovider.
Was this page helpful?