-
-
Notifications
You must be signed in to change notification settings - Fork 681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blocking resource view rendered in template #1119
Comments
Are you familiar with the |
Thanks, with PartiallyBlocked it works perfectly. |
In any SSR mode, |
FWIW, I think there's room for improving the documentation. The way I read the book page on SSR modes, and even when looking at the SsrMode docs (I must have skimmed past the enum values), I though partially-blocking mode described the combination of SsrMode::OutOfOrder with create_blocking_resource. I think the book page should mention the flag values, and the docs for create_blocking_resource should as well. Will try to send a PR. |
Meant to address users making the same mistake as leptos-rs#1119
Meant to address users making the same mistake as leptos-rs#1119
I'm trying to create an SEO-friendly html response with blog post content using a
create_blocking_resource
.In the browser, all looks well. When I enter the blog post page, the page is rendered with blog post content (fallback does not appear), but when I check the response using curl I can see that the blog post content is not rendered in its final destination:
I would expect to get:
The text was updated successfully, but these errors were encountered: