-
Notifications
You must be signed in to change notification settings - Fork 82
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
Why not use RwSignal everywhere? #158
Comments
Pretty straightforward: the read-write separation is useful as the default because it encourages the pattern of only passing a |
Thanks! That confirms my guess. Should I open a PR that reads like so?
|
Sounds good to me! Thanks for offering. |
Hey there! I'm new to Leptos and enjoying the documentation so far. Though, I had a big question hit me when iterators came up:
The big thing that hit me is that it looks a lot nicer to use the RwSignal in say, this example:
Now, my big guess here is that if you're only sending a read signal it's more explicit that the component can't update that value. It may be worth covering that in that paragraph because at first glance I thought "Why, that's a really easy way to have ergonomics and not use +nightly.
Am I wrong here? Maybe the paragraph could read:
Thanks!
The text was updated successfully, but these errors were encountered: