-
Notifications
You must be signed in to change notification settings - Fork 23
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
Stabilize never called and other questions #10
Comments
if (!stabilizeQueued) {
stabilizeQueued = true;
requestAnimationFrame(stabilize);
}
|
Closed
Update: we've added an API to do automatic stabilization: https://github.com/modderme123/reactively/blob/main/packages/core/src/core.ts#L324. Just calling autoStabilize will automatically schedule microtasks which call stabilize |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ported your logic to a Go project that needs reactivity.
All test pass and the results are very promising. I ported benchmark as well. Used it with no threading to try to be as close to 1:1 with the current numbers.
On my machine
Port
My question is more of understanding some of the details
stale()
puts things in theEffectQueue
andstabilize()
takes them out. But I don't seestabilize()
called anyway in the repository.The text was updated successfully, but these errors were encountered: