Answer the question
In order to leave comments, you need to log in
Does mobx combine multiple state changes into one call?
If you use useState and call a function that changes it twice, then the application will be drawn twice, but if you do the same logic in mobx? does it render once?
when updating two states, I want them to be merged into one state update, and the application was rendered once as in react 18)
all the best :)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question