Where do you put state in React?

There are two ways to initialize state in a React component: inside the constructor, and directly inside the class .

Sizin İçin Seçtik  YouTube 1000 abone olunca kaç para kazanilir?

Leave a Reply

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