Skip to content
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

Document hydration and hydration issues for dioxus fullstack #242

Open
ealmloff opened this issue Apr 3, 2024 · 2 comments
Open

Document hydration and hydration issues for dioxus fullstack #242

ealmloff opened this issue Apr 3, 2024 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation fullstack related to the fullstack crate

Comments

@ealmloff
Copy link
Member

ealmloff commented Apr 3, 2024

We briefly mention hydration in the choosing a web renderer chapter, but we don't explain it in the fullstack guide. We should explain both hydration and how to recognize and avoid hydration errors (nondeterminism).

@ealmloff ealmloff added documentation Improvements or additions to documentation fullstack related to the fullstack crate labels Apr 3, 2024
@ealmloff ealmloff self-assigned this Apr 3, 2024
@frantisek-heca
Copy link

In the meantime - can you tell me please, what strategy/implementation model is Dioxus inspired by? Or heavily based on?
Just to give me better mental model to some already existing, described system.
For example, is it something like Qwik handlers? Or more like Next.js (expensive) hydration, or React server components.... ?

@ealmloff
Copy link
Member Author

ealmloff commented Apr 5, 2024

In the meantime - can you tell me please, what strategy/implementation model is Dioxus inspired by? Or heavily based on? Just to give me better mental model to some already existing, described system. For example, is it something like Qwik handlers? Or more like Next.js (expensive) hydration, or React server components.... ?

It is similar to (how I understand) hydration in Next.js works. Every component is run on both the server and the client unlike Qwik and server components. Hydration should be faster than Next.js because we use the structure of templates to only hydrate dynamic elements in your site. In the Javascript world, I think millionjs does something similar to speed up hydration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation fullstack related to the fullstack crate
Projects
None yet
Development

No branches or pull requests

2 participants