Commit graph

6 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
fcd68e61d2 Feat: listeners now have scope information 2021-03-03 11:13:46 -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
7a4594e237 wip: borrowing 2021-02-22 13:10:36 -05:00
Jonathan Kelley
bdc25b581b Feat: finally solve the component lifetime problem <3 2021-02-20 22:57:13 -05:00