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
{{ message }}
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
The documentation for createRoot() is really sparse - just two sentences, one which describes the motivation, and the other which describes the functionality. That's not really enough.
In particular, I would like it to be more explicit about the owner scope in which the tracked function runs. I had initially assumed that the tracked function inherited the scope that was current when createReaction() is called, but that is not the case. Instead, the tracked function inherits the scope that is current when the function returned from createReaction is called.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The documentation for createRoot() is really sparse - just two sentences, one which describes the motivation, and the other which describes the functionality. That's not really enough.
In particular, I would like it to be more explicit about the owner scope in which the tracked function runs. I had initially assumed that the tracked function inherited the scope that was current when createReaction() is called, but that is not the case. Instead, the tracked function inherits the scope that is current when the function returned from createReaction is called.
The text was updated successfully, but these errors were encountered: