When a react component state changes, the render method is called. Hence for any state change, an action can be performed in the render methods body. Is there a particular use case for the setState callback then?

5 Answers
5

Leave a Reply

Your email address will not be published. Required fields are marked *