Skip to content
Discussion options

You must be logged in to vote

I rewrote #1189, and it's more reasonable for me.

https://stackblitz.com/edit/valtio-stress-test-qzyuj3k5?file=package.json,src%2Fmain.ts

It's improved, and it's the best at the moment.
In the future, we may introduce batch() in v3, which might help this case.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@dai-shi
Comment options

@dai-shi
Comment options

Answer selected by dragonman225
@dragonman225
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants