dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

Qwik like hydration feature?

Open kolinfluence opened this issue 1 year ago • 1 comments

as titled

kolinfluence avatar Oct 15 '24 19:10 kolinfluence

I would consider this out of scope for Dioxus fullstack (at least for the next few years) because it is both very web specific and qwik's implementation of resumability requires additional annotations that would be out of place in a desktop app. It would require a lot of work to get something like reusability working in a rust framework. You need to track what values are moved into closures which would likely require a compiler plugin. Bundling splitting is a prerequisite of reactivity. It might make sense to revisit this once bundle splitting is stable

There is a very interesting discussion on the tradeoffs of reusability and how it could be applied to a WASM framework in https://github.com/leptos-rs/leptos/issues/12.

ealmloff avatar Oct 15 '24 19:10 ealmloff