-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
docs: better clarify not to compute state in $effect
#9940
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Inspired both by the recent Reddit post and a comment on Discord
It may have been unclear what "it's" was referring to (
$effect
or$:
). Also, be clearer about$:
vs$:{}
. And we should be clearer about when not to use effectFinally, you can't just swap it in for
onMount