Replies: 1 comment 3 replies
-
According to the #1194 thread, ClientOnly features are still on the roadmap thus I used proposed solution from that thread:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've managed to migrate my CSR app to cargo-leptos and implement SSR, although it's not 100% complete.
Generally, I'm working on a dashboard-like tool and am not particularly interested in SEO. Some features still depend on CSR.
For example, I use local storage to determine whether the drawer is open or closed by default. After transitioning to SSR, if the drawer should be closed, I see it momentarily just after the page loads; it then closes once the WASM is loaded.
Additionally, some of the APIs I'm using are entirely dependent on Gloo.
If I'm using the start-axum-workspace template, what would be the best way to 'fake' CSR? In other words, I'd like to load the WASM first and then render my content without any server-side rendering.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions