Commit graph

79 commits

Author SHA1 Message Date
Jonathan Kelley
e5c88fe3a4 feat: make hooks free-functions 2021-07-27 11:28:05 -04:00
Jonathan Kelley
6051b0ec86 wip: fill out the snippets 2021-07-20 19:03:49 -04:00
Jonathan Kelley
4a72b3140b feat: amazingly awesome error handling 2021-07-18 12:39:32 -04:00
Jonathan Kelley
f14d4ef7c2 wip: fix styling for ssr 2021-07-15 11:06:52 -04:00
Jonathan Kelley
4837d8e741 feat: suspense! 2021-07-15 00:40:37 -04:00
Jonathan Kelley
996247a164 wip 2021-07-13 15:34:12 -04:00
Jonathan Kelley
4091846934 feat: add aria 2021-07-13 00:56:39 -04:00
Jonathan Kelley
df8bb615de docs: more workshopping 2021-07-12 12:22:08 -04:00
Jonathan Kelley
f5bead4f6e wip: workshop readme 2021-07-12 12:20:58 -04:00
Jonathan Kelley
3a0919da36 wip: workshop the readme 2021-07-12 12:19:50 -04:00
Jonathan Kelley
68ed1c04e7 wip: ....sigh..... so the diffing algorithm is robust
but it's still not finished.

We need to re-enable the fancier keyed diffing versions some point (soon!).
2021-07-12 03:58:46 -04:00
Jonathan Kelley
56e7eb83a9 wip: more examples 2021-07-11 19:31:07 -04:00
Jonathan Kelley
9abb0470b7 feat: static node infrastructure and ssr changes 2021-07-11 14:49:52 -04:00
Jonathan Kelley
99d94b69ab feat: move webview to wry 2021-07-08 12:01:31 -04:00
Jonathan Kelley
a38a81e129 wip: fix issues with lifetimes
this commit fixes some lifetime issues regarding having to "move" data into the IntoVNode closure.
2021-07-07 13:51:55 -04:00
Jonathan Kelley
22e659c2bd feat: namespaced attributes
this commit adds namespaced attributes. This lets us support attribute groups, and thus, inline styles.

This namespaced attribute stuff is only available for styles at the moment, though it theoretically could be enabled for any other attributes.
2021-07-06 23:04:33 -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
952a91d540 wip 2021-07-01 14:14:59 -04:00
Jonathan Kelley
c5f9cce63a wip: more on signals 2021-06-30 17:20:13 -04:00
Jonathan Kelley
14d55d50ca concept: signals guide 2021-06-30 16:47:30 -04:00
Jonathan Kelley
93900aac44 concept: integrate signals 2021-06-30 14:08:12 -04:00
Jonathan Kelley
8af791e4eb docs: more readme 2021-06-26 01:30:01 -04:00
Jonathan Kelley
23c14078bb docs: move suspense into a "figured out task" 2021-06-25 13:17:18 -04:00
Jonathan Kelley
c8495fd26e docs: more readme 2021-06-25 09:35:01 -04:00
Jonathan Kelley
66920eab91 docs: more readme 2021-06-25 09:33:59 -04:00
Jonathan Kelley
57a61fb4ba docs: update readme a tad 2021-06-25 09:33:43 -04:00
Jonathan Kelley
daa9bd82c3 docs: more work on docs 2021-06-25 09:31:13 -04:00
Jonathan Kelley
4ecfc241e2 docs: more work 2021-06-24 11:18:58 -04:00
Jonathan Kelley
772e11b965 docs: split table up 2021-06-24 11:17:59 -04:00
Jonathan Kelley
527e0abd0f docs: fix formatting 2021-06-24 11:15:55 -04:00
Jonathan Kelley
acbeac02d9 docs: add a table to the readme 2021-06-24 11:15:25 -04:00
Jonathan Kelley
7fbaf69cab Docs: more examples and docs 2021-06-24 11:09:38 -04:00
Jonathan Kelley
70cd46dbb2 docs: move around examples 2021-06-17 18:00:32 -04:00
Jonathan Kelley
47e896038e wip: more work on updating syntad 2021-06-15 10:02:46 -04:00
Jonathan Kelley
a03497e0d8 Doc: change up example a bit 2021-06-10 11:45:32 -04:00
Jonathan Kelley
fe6938ceb3 wip: pre vnodes instead of vnode 2021-06-08 14:00:29 -04:00
Jonathan Kelley
424a18137f Wip: pre-diffmachine merge fork 2021-06-03 13:57:41 -04:00
Jonathan Kelley
69f5cc3802 docs: move into a fromjs tutorial 2021-06-03 12:02:46 -04:00
Jonathan Kelley
b05331a60b Docs: change example to make it simpler 2021-06-03 10:43:48 -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
3cfa1fe125 Feat: buff the readme and docs 2021-05-19 20:57:19 -04:00
Jonathan Kelley
c28697e1fe Feat: some code health 2021-05-16 02:06:02 -04:00
Jonathan Kelley
8c541f66d5 wip: todos 2021-04-01 21:44:18 -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
0aab659a06 docs: homepage 2021-03-23 14:34:06 -04:00
Jonathan Kelley
9b560dfedb wip: more liveview and webview custom client 2021-03-16 14:28:54 -04:00
Jonathan Kelley
7856f2b153 wip: livehost bones 2021-03-16 11:03:59 -04:00
Jonathan Kelley
92d9521a73 WIP: remove FC 2021-03-07 21:28:20 -05:00
Jonathan Kelley
9237d02cf2 Feat: update docs a bit 2021-03-02 01:47:27 -05:00