You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use Store in thaw components. With Store you can get() and set() the value separately. But it does not expose this as normal ReadSignal and WriteSignal. So we can't simply use them with thaw (I think).
I'd just like to share this commit I've made on a local fork: tqwewe@83889f7
I think instead of using a store value directly like this, instead it should be more targeted towards Field in leptos 0.7. Store is more for a complex data structure, whereas field is a single field within a store. Field also implements From<Store>.
There is one issue with my commit on line 146 where Field doesn't implement Update, however this should be fixed with leptos-rs/leptos#3257
I would like to use
Store
inthaw
components. WithStore
you canget()
andset()
the value separately. But it does not expose this as normalReadSignal
andWriteSignal
. So we can't simply use them with thaw (I think).Something like this.
The text was updated successfully, but these errors were encountered: