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
Currently, if you're using file-based routing, all the routes you create are automatically registered. In some admin dashboard applications with access control, you typically need to perform both login and permission checks for route access. However, if we can dynamically register routes based on conditions, you only need to perform a login check—unauthorized routes won't be registered at all, so accessing them will result in a 404 page.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, if you're using file-based routing, all the routes you create are automatically registered. In some admin dashboard applications with access control, you typically need to perform both login and permission checks for route access. However, if we can dynamically register routes based on conditions, you only need to perform a login check—unauthorized routes won't be registered at all, so accessing them will result in a 404 page.
Beta Was this translation helpful? Give feedback.
All reactions