Commit Graph
16 Commits
Author SHA1 Message Date
Jonathan Kelley 904b26f711 feat: add edits back! and more webview support!
This commit adds a new type - the DomEdit - for serializing the changes made by the diffing machine. The architecture of how DomEdits fit into the cooperative scheduling is still TBD but it will allow us to build change lists without applying them immediately. This is more performant  and allows us to only render parts of the page at a time.

This commit also adds more infrastructure around webview. Dioxus can now run on the web, generate static pages, run in the desktop, and run on mobile, with a large part of thanks to webview.
2021-07-05 18:37:15 -04:00
Jonathan Kelley e8f29a8f8a wip: enable more diffing 2021-07-05 01:11:49 -04:00
Jonathan Kelley 73047fe956 feat: props memoization is more powerful
This commit solves the memoization , properly memoizing properties that don't have any generic parameters. This is a rough heuristic to prevent non-static lifetimes from creeping into props and breaking our minual lifetime management.

Props that have a generic parameter are opted-out of the `partialeq` requirement and props *without* lifetimes must implement partialeq. We're going to leave manual disabling of memoization for future work.
2021-06-22 17:20:54 -04:00
Jonathan Kelley fe67ff9fa4 wip: doesnt share on thread 2021-05-27 17:57:59 -04:00
Jonathan Kelley 9810feebf5 Feat: major overhaul to diffing 2021-05-15 12:03:08 -04:00
Jonathan Kelley 9b560dfedb wip: more liveview and webview custom client 2021-03-16 14:28:54 -04:00
Jonathan Kelley 78d093a945 FIx: cargo fix to clean up things 2021-03-10 19:42:31 -05:00
Jonathan Kelley 5a9155b059 Feat: more cleanup 2021-03-04 12:03:22 -05:00
Jonathan Kelley 4b8e9f4a12 Feat: wowza got it all working 2021-03-02 00:14:28 -05:00
Jonathan Kelley e3ede7fcbf Feat: re-enable stack machine approach 2021-02-17 10:53:55 -05:00
Jonathan Kelley f22ff83190 Feat: WIP on deserialize 2021-02-15 14:14:28 -05:00
Jonathan Kelley 8439994859 Feat: web example + cli writes to browser screen! 2021-02-15 00:17:40 -05:00
Jonathan Kelley 9b41161628 Feat: upgrade project 2021-01-20 12:20:25 -05:00
Jonathan Kelley 44ea4f8de9 Feat: publish cli 2021-01-20 12:18:10 -05:00
Jonathan Kelley 4dcfe66253 Feat: update spelling and changes to cli 2021-01-20 12:12:48 -05:00
Jonathan Kelley 18ad810768 Chore: cleanup the CLI package 2021-01-19 08:50:56 -05:00