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
I am trying to use Imba once again and stuck again with the router. I understand router is not designed for SPAs but Imba could be a great framework for SPAs.
With @haikyuu help I am able to get route-based code splitting working with Vite.
I am trying to use Imba once again and stuck again with the router. I understand router is not designed for SPAs but Imba could be a great framework for SPAs.
With @haikyuu help I am able to get route-based code splitting working with Vite.
The problem is that routed function is not always called and so not suitable for lazy loading routes and routes guards. Other framework routers like Vue router have comprehensive support for router hooks https://router.vuejs.org/guide/advanced/navigation-guards.html and svelte like onNavigate hook for view transitions https://kit.svelte.dev/docs/faq#how-do-i-use-the-view-transitions-api-with-sveltekit
@somebee I know router is not your priority, but I would request you to please consider adding these hooks to router.
The text was updated successfully, but these errors were encountered: