What is meant by setState?

setState() schedules an update to a component’s state object . When state changes, the component responds by re-rendering.

Sizin İçin Seçtik  How is React state stored?

Leave a Reply

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