DioxusLabs / dioxus

Fullstack app framework for web, desktop, mobile, and more.
https://dioxuslabs.com
Apache License 2.0
21.44k stars 826 forks source link

Extract Virtual DOM out into its own independent crate #923

Closed ranile closed 1 year ago

ranile commented 1 year ago

I was having a discussion with @Demonthos on optimizing Yew's rendering performance and came to the conclusion that we should separate static vs dynamic items in the VDOM tree, similar to Dioxux.

Dioxus has done a great job at optimizing it's Virtual DOM. I would like to see it extracted into a separate crate that everyone can use and build upon. This crate should be independent of any frameworks but could/should have concepts of components and such.

If this is something that is wanted, I would be happy to lend a hand in extracting the code and publishing it (preferably in a separate repository)

jkelleyrtp commented 1 year ago

Our core crate is the closest thing we have to an extracted virtualdom implementation. Anyone should be able to build around it.

https://github.com/DioxusLabs/dioxus/tree/master/packages/core