What are states and props in React?

In a React component, props are variables passed to it by its parent component. State on the other hand is still variables, but directly initialized and managed by the component .

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

Leave a Reply

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

What are states and props in React?

In a React component, props are variables passed to it by its parent component. State on the other hand is still variables, but directly initialized and managed by the component .

Sizin İçin Seçtik  PNL atmak ne demek?

Leave a Reply

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