-
The documentation says: I have the following:
and I would like to have a modal opened, without state, so I would open by going to a route
inside of and inside of with this setup I can access: is this a valid approach? or should I just "follow the rules" and use a Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You could use a search param |
Beta Was this translation helpful? Give feedback.
-
@sergiodxa but then I would need to use state on my component, right? I am trying to avoid state and use nested routes in order to work with modals...not sure if it its the best / maintainable approach but I kind of like using it on Remix. |
Beta Was this translation helpful? Give feedback.
You could use a search param
?new
and then check if the search param is there open the modal.