Commit Graph
45 Commits
Author SHA1 Message Date
Jonathan Kelley 34c3107418 wip: more docs 2021-09-20 16:49:36 -04:00
Jonathan Kelley c16b92ee7e wip: before scheduler simplify 2021-09-19 22:10:00 -04:00
Jonathan Kelley 9971ff215d polish: change in cx to cx 2021-09-16 13:20:04 -04:00
Jonathan Kelley fac2e56ed6 feat: update root props 2021-09-01 15:45:53 -04:00
Jonathan Kelley c321532a6c feat: some docs, cleaning 2021-09-01 00:57:04 -04:00
Jonathan Kelley 5cbdc571e3 more cleanup 2021-08-31 12:28:44 -04:00
Jonathan Kelley 07efb6a1b6 wip: it compiles again 2021-08-25 17:09:16 -04:00
Jonathan Kelley 41cc42919d wip: more overhaul on virtualevents 2021-08-25 16:40:18 -04:00
Jonathan Kelley cef116aa3a wip: more work on priority 2021-08-25 15:54:33 -04:00
Jonathan Kelley 64f289a61c wip: back to vnode enum 2021-08-20 10:34:41 -04:00
Jonathan Kelley 85e2dc259a wip: close on putting it all together
just gotta tie a bow
2021-08-10 00:29:53 -04:00
Jonathan Kelley c1afeba1ef wip: groundwork for noderefs 2021-08-09 17:09:33 -04:00
Jonathan Kelley fac42339c2 feat: mutations 2021-08-08 15:15:16 -04:00
Jonathan Kelley f2334c17be wip: bottom up dropping 2021-08-05 22:23:41 -04:00
Jonathan Kelley d618092e9d feat: a new vnode type for anchors 2021-07-29 18:04:09 -04:00
Jonathan Kelley e5c88fe3a4 feat: make hooks free-functions 2021-07-27 11:28:05 -04:00
Jonathan Kelley 8cfc437bfe wip: some project refactor 2021-07-09 11:54:07 -04:00
Jonathan Kelley 99d94b69ab feat: move webview to wry 2021-07-08 12:01:31 -04:00
Jonathan Kelley 2547da36a0 wip: more examples 2021-07-08 10:17:51 -04:00
Jonathan Kelley e4cdb645aa feat: beaf up the use_state hook 2021-07-08 09:29:12 -04:00
Jonathan Kelley fd7933561f chore: move CLI into its own "studio" app 2021-07-07 16:58:23 -04:00
Jonathan Kelley 98a09339fd wip: move some examples around 2021-07-07 16:19:10 -04:00
Jonathan Kelley cca7c5fc3a wip: remove the scoped trait 2021-07-07 15:07:46 -04:00
Jonathan Kelley 36542b482f wip: move the functions around a bit 2021-07-07 14:37:31 -04:00
Jonathan Kelley 11f89e5d33 wip: more examples 2021-07-06 12:13:00 -04:00
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 81382e7044 chore: rename ctx to cx 2021-06-25 21:15:33 -04:00
Jonathan Kelley 69f5cc3802 docs: move into a fromjs tutorial 2021-06-03 12:02:46 -04:00
Jonathan Kelley 50c8b93aad Feat: move the rsx macro around 2021-06-03 10:42:28 -04:00
Jonathan Kelley 508c560320 Feat: massive changes to definition of components
This change switches back to the original `ctx<props>` syntax for
commponents. This lets lifetime elision to remove the need to match
exactly which lifetime (props or ctx) gets  carried to the output. As
such, `Props` is currently required to be static. It *is* possible to
loosen this restriction, and will be done in the future, though only
through adding metadata about the props through the Props derive
macro. Implementing the IS_STATIC trait is unsafe, so the derive macro
will do it through some heuristics.

For now, this unlocks sharing vnodes from parents to children, enabling
pass-thru components, fragments, portals, etc.
2021-06-01 18:33:15 -04:00
Jonathan Kelley ee67654f58 wip: recoil 2021-05-26 01:40:30 -04:00
Jonathan Kelley 9810feebf5 Feat: major overhaul to diffing 2021-05-15 12:03:08 -04:00
Jonathan Kelley ce33031519 wip: todomvc 2021-03-29 12:31:47 -04:00
Jonathan Kelley 0bcff1f88e Feat: more ergonomics, more examples 2021-03-26 15:50:28 -04:00
Jonathan Kelley 5ad81885e4 wip: staticify? 2021-03-11 12:27:01 -05:00
Jonathan Kelley 78d093a945 FIx: cargo fix to clean up things 2021-03-10 19:42:31 -05:00
Jonathan Kelley 92d9521a73 WIP: remove FC 2021-03-07 21:28:20 -05:00
Jonathan Kelley d9598066c2 Feat: yeet, synthetic somewhat wired up 2021-03-04 18:40:05 -05:00
Jonathan Kelley 5a9155b059 Feat: more cleanup 2021-03-04 12:03:22 -05:00
Jonathan Kelley 879e107634 wip: use_reducer 2021-03-02 02:27:07 -05:00
Jonathan Kelley 3b30fa61b8 Feat: a few bugs, but the event system works! 2021-02-28 03:08:08 -05:00
Jonathan Kelley 7a6aabe4f3 Feat: WIP ctx 2021-02-20 21:59:16 -05:00
Jonathan Kelley ea2aa4b0c9 Feat: event loop 2021-02-12 16:11:33 -05:00
Jonathan Kelley 8295ac4b3d Feat: major overhaul, wire up event system 2021-02-12 03:07:35 -05:00
Jonathan Kelley f47651b32a Feat: overall API updates 2021-02-12 00:29:46 -05:00