You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Advantages of having modals in the same directory as routes (distinguished by a + prefix) and managing them with the useModals hook, which also works natively in React Native:
• Simplifies file structure by colocating related routes and modals.
• Provides a clear, standardized naming convention.
• Enables native state management without extra libraries.
• Ensures seamless cross-platform support for web and React Native.
Please add support for router modals. Here's an example of what I'm currently using:
https://github.com/oedotme/generouted/tree/main/packages/react-router#type-safe-global-modals
The text was updated successfully, but these errors were encountered: