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
Okay I spent a while digging into this - the original issue has been fixed but we have a new issue where use_server_future isn't properly reactive in a way that you'd expect.
This is because during hydration we don't actually call the server future so we don't know what its dependencies are.
We should at least poll it once to get a sense of its deps, but without firing off a request.
Either that, or serialize its dependencies, which seems harder but more resilient (ala qwik).
Problem
I'm struggling with re-rendering HTML using the dangerous_inner_html attribute.
The HTML String is being generated from a server function and called with use_server_future.
On the first launch the HTML renders correctly, but after that the HTML doesn't get rendered.
I have checked the console logs and I can see the HTML string is generated correctly.
Expected behavior
HTML Should be re-rendered on submit of the form.
Environment:
main.rs
cargo.toml
The text was updated successfully, but these errors were encountered: