This PR makes progress towards updating leptos-use for Leptos 0.7 (now on 0.7.0-alpha).
Given the extensive nature of these changes, this PR may be impractical from a review standpoint. However, it may at least be useful as a point of reference for what needs to be done.
So far everything seemed very good. So I merged. I'm very glad that you do this major port! So do whatever is most comfortable for you and open the next PR with any progress you have 👍🏼
This PR makes progress towards updating
leptos-use
for Leptos 0.7 (now on0.7.0-alpha
).Given the extensive nature of these changes, this PR may be impractical from a review standpoint. However, it may at least be useful as a point of reference for what needs to be done.
There are four main blockers at the moment:
watch
is not yet implemented in 0.7 as noted here on Discord.HtmlElement
struct has gotten much more complicated and I'm not sure what the best approach is for managingElementMaybeSignal
-related code.With all this in mind, it seems like the most helpful way forward would be implementing the missing items in 1-3, and that might be pretty easy!
In any case, I hope this helps!