perf: Optimize stack router performance

This commit is contained in:
Aleksi Lassila
2024-05-30 17:28:28 +03:00
parent 12edf92754
commit 9b08885afa
10 changed files with 63 additions and 66 deletions

View File

@@ -251,8 +251,7 @@ export const defaultStackRouter = useStackRouter({
searchRoute,
manageRoute
],
notFound: notFoundRoute,
maxDepth: 3
notFound: notFoundRoute
});
// export const defaultStackRouter = useStackRouter({
// '/': {