Skip to content

Is there a way to create actions that update multiple maps/atoms? #129

Answered by ai
marcebdev asked this question in Q&A
Discussion options

You must be logged in to vote

React has re-render bunching. If you update 10 atoms in one callback, only one re-render will be called.

Svelte has bunching as well.

DO you have any another reasons to be worry about multiple changes in the atoms?

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@marcebdev
Comment options

@ai
Comment options

@marcebdev
Comment options

@marcebdev
Comment options

@ai
Comment options

Answer selected by marcebdev
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