Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Improve Dioxus #1646

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Conversation

birkskyum
Copy link
Contributor

@birkskyum birkskyum commented Apr 8, 2024

I got pretty far in a rewrite here to stick to the Hooks rules. I tried aligning this implementation closer to how Leptos impl. looks. I do get some issues with generational references though when I'm trying to loop over the rows in the template, but otherwise things looked promising.

Related to

Correct me if i'm wrong, but with hooks rules etc., this feels a lot more like react useState, than actuals signals. I think read/write separation would have helped me in this implementation, because it's harder to carry a mutable reference around in the rsx!, e.g. when looping over the rows, when i technically only have to read the signal to do that.

@birkskyum birkskyum mentioned this pull request Apr 8, 2024
@birkskyum birkskyum changed the title [WIP] Attempt at improving Dioxus [WIP] Improve Dioxus Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant