Answer the question
In order to leave comments, you need to log in
How does render happen in React when updating props context, and state?
When updating properties or state, all functions and classes are called again or in classes it works according to the principle "if there is a class, then call render otherwise create a class", which is logical, but when the component is called in another render. I think the same.
But what about connect in redux? In the same place, connect is called every time the store changes. And, as far as I know, properties are thrown through the Children class, the class is completely recreated or not.
Help deal with this issue.
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