Commit graph

5 commits

Author SHA1 Message Date
Jonathan Kelley
78d093a945 FIx: cargo fix to clean up things 2021-03-10 19:42:31 -05:00
Jonathan Kelley
8fcd001677 Feat: update component so build passes 2021-03-09 14:46:00 -05:00
Jonathan Kelley
37f5a7ad33 Feat: wire up props macro 2021-03-09 14:45:52 -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
92d9521a73 WIP: remove FC 2021-03-07 21:28:20 -05:00