When should state be used in React?

React uses an observable object as the state that observes what changes are made to the state and helps the component behave accordingly . For example, if we update the state of any component like the following the webpage will not re-render itself because React State will not be able to detect the changes made.8 Eki 2021

Sizin İçin Seçtik  useEffect ne zaman çalışır?

Leave a Reply

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