Jonathan Kelley 8f9d15db4a feat: enable form elements in web %!s(int64=3) %!d(string=hai) anos
..
gen 8f9d15db4a feat: enable form elements in web %!s(int64=3) %!d(string=hai) anos
src c4556d050e Merge branch 'master' into jk/form-ma %!s(int64=3) %!d(string=hai) anos
Cargo.toml 5b69f9b686 release: make interpreter crate publishable %!s(int64=3) %!d(string=hai) anos
README.md 84959a7826 feat: it works everywhere %!s(int64=3) %!d(string=hai) anos
build.rs b4923b2b81 ci: move gen folder out of src %!s(int64=3) %!d(string=hai) anos
tsconfig.json b4923b2b81 ci: move gen folder out of src %!s(int64=3) %!d(string=hai) anos

README.md

JS Interpreter

After diffing old and new trees, the Dioxus VirtualDom produces patches that are used to modify the existing Dom. We can send these patches anywhere - including targets without WASM support.

In renderers with support for JavaScript, we use the interpreter from this repository - written in TypeScript - to patch the Dom. This lets us circumvent any overhead on the Rust <-> Dom boundary and keep consistency in our interpreter implementation in web/webview targets.

For now - both Dioxus Web and Dioxus Desktop (webview) use the same interpreter code with tweaks.