Why do we spread props?

Spread attributes can be useful but they also make it easy to pass unnecessary props to components that don’t care about them or to pass invalid HTML attributes to the DOM . We recommend using this syntax sparingly.

Sizin İçin Seçtik  Why we use useState in React Native?

Leave a Reply

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