Commit Graph
12 Commits
Author SHA1 Message Date
Jonathan Kelley 7158bc3575 Feat: revert FC changes (like the old style).
This commit reverts to the old style of props + FC. The old style is desirable
because people comfortable with react can automatically be comfortable with
dioxus. It's also nice in that the same props can be used to drive two different
components - something the trait version couldn't do. Now, our trait bound forces
implementations to have the #[derive(Props)] flag. This will need to implement the
Properties trait as well as PartialEq (using ptr::equal for closure fields).
2021-03-09 00:58:20 -05:00
Jonathan Kelley 92d9521a73 WIP: remove FC 2021-03-07 21:28:20 -05:00
Jonathan Kelley 3740f81383 WIP: still a bit stumped on DFS vs BFS 2021-03-05 15:02:36 -05:00
Jonathan Kelley c8bb392cad Feat: view -> render 2021-02-28 21:21:17 -05:00
Jonathan Kelley 83451372aa Feat: clean up code 2021-02-24 01:32:50 -05:00
Jonathan Kelley 7a6aabe4f3 Feat: WIP ctx 2021-02-20 21:59:16 -05:00
Jonathan Kelley bcbb93b697 Feat: remove our use of ouroborous.
Instead, we're just going stick with unsafely transmuting the static
lifetime when accessing the active frame. This is a bit scarier, but
greatly simplifies containing the VNode.
2021-02-17 20:56:53 -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
Jonathan Kelley 125f5426a4 Feat: push new component API and context API 2021-02-11 23:03:01 -05:00
Jonathan Kelley c9d95dd1dc Feat: move out scope into its own file 2021-02-07 17:38:17 -05:00
Jonathan Kelley e939373616 Feat: capture pointer type 2021-02-07 16:21:38 -05:00