Commit graph

167 commits

Author SHA1 Message Date
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
Jonathan Kelley
4b8e9f4a12 Feat: wowza got it all working 2021-03-02 00:14:28 -05:00
Jonathan Kelley
114a446c0a Feat: clean up readme 2021-03-01 00:18:05 -05:00
Jonathan Kelley
ffaf687896 Feat: update readme and examples 2021-03-01 00:16:48 -05:00
Jonathan Kelley
c8bb392cad Feat: view -> render 2021-02-28 21:21:17 -05:00
Jonathan Kelley
e840f472fa WIP: moving to CbIdx as serializable event system 2021-02-27 11:43:28 -05:00
Jonathan Kelley
32b45e5ba1 Feat: move webview logic into library 2021-02-25 18:44:00 -05:00
Jonathan Kelley
1781ebba86 Feat: wire up explore in readme 2021-02-16 01:43:50 -05:00
Jonathan Kelley
cc882932e1 Feat: shorten readme 2021-02-16 01:41:41 -05:00
Jonathan Kelley
f22ff83190 Feat: WIP on deserialize 2021-02-15 14:14:28 -05:00
Jonathan Kelley
4dfdf91236 Feat: major overhaul to diffing, using a "diffing machine" now 2021-02-14 18:03:16 -05:00
Jonathan Kelley
a61503f6cc Feat: homepage update from rocket 2021-02-09 12:33:54 -05:00
Jonathan Kelley
f671ae5c8b Wip: lower heading 2021-02-08 17:09:57 -05:00
Jonathan Kelley
f0dbc72fbd wip: more 2021-02-08 17:09:21 -05:00
Jonathan Kelley
574cba80a3 Chore: fix table again 2021-02-08 17:08:26 -05:00
Jonathan Kelley
07e628eaf2 Chore: fix table 2021-02-08 17:07:27 -05:00
Jonathan Kelley
e22d19af0f Feat: add table to docs 2021-02-08 17:05:58 -05:00
Jonathan Kelley
204f0d9f16 Feat:
- integrate subscription service into context.
- Update documentation
2021-02-08 16:57:34 -05:00
Jonathan Kelley
ee23ea6c3a Feat: fix docs names 2021-02-08 11:12:02 -05:00
Jonathan Kelley
07341d2c65 Feat: include the helper 2021-02-03 02:26:04 -05:00
Jonathan Kelley
a2406b33d6 Feat: updates to docs, extension 2021-01-29 11:57:52 -05: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
6aeea9b790 Feat: add router 2021-01-20 17:48:58 -05:00
Jonathan Kelley
c2b5794055 Chore: update readme 2021-01-16 10:31:17 -05:00
Jonathan Kelley
9c616ea5c0 Feat: more docs, dissolve vnode crate into dioxus-core 2021-01-16 01:30:48 -05:00
Jonathan Kelley
23ab5af1bf Feat: add diopack 2021-01-15 23:32:53 -05:00
Jonathan Kelley
d13e04c9ff Feat: more docs, example, mroe nodes 2021-01-15 23:25:29 -05:00
Jonathan Kelley
ce34d0dfcd Feat: WIP 2021-01-14 20:56:28 -05:00
Jonathan Kelley
2b9c8d09d9 Feat: docs, code frm percy 2021-01-14 02:56:41 -05:00