Commit Graph
57 Commits
Author SHA1 Message Date
Jonathan Kelley d96276a715 wip: no more lifetimes 2021-11-06 21:07:01 -04:00
Jonathan Kelley 70b983d090 wip: consolidation, simplification 2021-11-05 16:28:08 -04:00
Jonathan Kelley b56ea6c9a9 wip: work on scheduler, async, coroutines, and merge scope into context 2021-11-03 19:55:02 -04:00
Jonathan Kelley 27d891934a fix: use annotation method from rust/58052 to fix closure lifetimes 2021-10-30 18:23:28 -04:00
Jonathan Kelley 9ee2bfb010 wip: worked backwards a bit and got it slightly figured out 2021-10-30 17:11:15 -04:00
Jonathan Kelley ba9e1dbb8f fix: messed up how lifetimes worked, need to render once per component 2021-10-29 21:43:21 -04:00
Jonathan Kelley 0e9d5fc530 wip: move everything over to a stack dst 2021-10-29 17:12:30 -04:00
Alexandre Kirszenberg 5747e00b27 Various typos/grammar/rewording 2021-10-24 19:30:36 +02:00
Jonathan Kelley 9726a065b0 feat: massage lifetimes 2021-10-16 17:37:28 -04:00
Jonathan Kelley 098d3821ed wip: changes to scheduler 2021-09-22 01:25:28 -04:00
Jonathan Kelley b32e2611e3 polish: clean up warnings 2021-09-21 18:13:09 -04:00
Jonathan Kelley bfdcb20437 feat: transition to cx, props 2021-09-21 13:13:15 -04:00
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