Mtlive
How to Implement Page Caching
I’m developing an admin panel, and users will frequently navigate between different feature pages. If every page transition requires reloading data, it would lead to a very poor experience. Is there a way to cache the pages? For example, when a user switches back from route A to route B, they should still see the content as they left it, including the scroll position, data, etc.
2 replies
how using createRoot?
I am developing a multi-language configuration for my program. I have implemented it in the following way so that it can be called inside the component or in some modules. (If I use context, I can't use it outside the component)
However, I get such a warning in the browser console and I'm not sure if such a warning has any positive negative effect.
"menus.tsx:10
computations created outside a
createRoot
or render
will never be disposed"
Please teach me, thank you!
8 replies
Solid Start Nested Router
Hi Guys!
How to Implement Partial Page Refresh (Nested Routing)
I am developing an admin dashboard with a top navigation bar, a left-side menu, and a right-side content area. I am not sure how to simultaneously handle a standalone login page and update the right content area by clicking on the left-side menu using a single file routing approach.
The login page has an independent layout, while after login, the layout is fixed and the route changes should only update the right-side content.
6 replies