Commit graph

5 commits

Author SHA1 Message Date
Jonathan Kelley
b3c96a5996 Feat: props now autoderives its own trait 2021-03-12 15:41:36 -05:00
Jonathan Kelley
78d093a945 FIx: cargo fix to clean up things 2021-03-10 19:42:31 -05:00
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
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