Commit Graph
19 Commits
Author SHA1 Message Date
Evan Almloff 5f873511c5 use workspace dependancies 2023-06-19 14:29:11 -05:00
Azriel Hoh 23dcd0657c Update env-logger to 0.10.0. 2023-05-29 13:19:08 +12:00
Jonathan Kelley 018a6e7578 bump dioxus, html, and hot-reload 2023-02-22 13:06:33 -08:00
Jonathan Kelley ab0023129d bump rsx 2023-02-22 12:22:45 -08:00
Evan Almloff f71ab650e8 don't include inteprocess in wasm builds 2023-01-12 11:41:46 -06:00
Evan Almloff 82048737f4 fix the macro export and WIP hot reloading docs 2023-01-12 08:47:33 -06:00
Joe Perri 0e40619b52 Update Cargo.toml (#740) 2023-01-10 10:51:21 -06:00
Jonathan Kelley a0961583d1 fix: versions and readme 2023-01-04 14:58:06 -05:00
Jonathan Kelley 7f01f61138 feat: publish 0.3 versions of many crates 2023-01-04 14:31:07 -05:00
Jonathan Kelley c44bd11fe5 chore: more refactoring, docs 2022-11-11 18:29:27 -08:00
Jonathan Kelley fc9fe6e560 feat: split apart template mutations 2022-11-08 19:39:37 -08:00
Jonathan Kelley 4a31b29703 feat: simple tests passing 2022-11-01 18:42:29 -07:00
Jonathan Kelley 90982e0ccb wip: start to refactor out hot reloading from packages
Also implement alternative simpler template system
2022-10-20 09:56:09 -07:00
Demonthos 047ed1e553 Subtree memorization / reactive templates (#488)
This commit adds subtree memoization to Dioxus.

Subtree memoization is basically a compile-time step that drastically 
reduces the amount of work the diffing engine needs to do at runtime by
extracting non-changing nodes out into a static "template." Templates 
are then understood by the various renderers in the ecosystem as a 
faster way of rendering the same items. 

For example, in the web, templates are simply a set of DOM Nodes created 
once and then cloned later. This is the same pattern frameworks like Lithtml
and SolidJS use to achieve near-perfect performance. 

Subtree memoization adds an additional level of complexity to Dioxus. The RSX
macro needs to be much smarter to identify changing/nonchanging nodes and
generate a mapping between the Template and its runtime counterparts.

This commit represents a working starter point for this work, adding support 
for templates for the web, desktop, liveview, ssr, and native-core renderers.
In the future we will try to shrink code generation, generally improve 
performance, and simplify our implementation.
2022-09-30 12:03:06 -07:00
Jon Kelley d9546d9504 Renderers are now packages, not features. (#387)
* feat: use synchronous router design

* feat: function to get router out of dom

* chore: restructure workspace to use renderers as packages, not features
2022-07-09 15:15:20 -04:00
Jonathan Kelley 36ea39ae30 Feat: rename recoil to atoms 2021-06-16 11:19:37 -04:00
Jonathan Kelley 65d0d611ea Feat: add webview example 2021-01-22 15:50:16 -05:00
Jonathan Kelley 28ac37a8b2 Feat: update fc_macro 2021-01-21 02:25:44 -05:00
Jonathan Kelley 4d7ac5bb5d Feat: dioxus frontend crate 2021-01-20 12:04:27 -05:00