What is context API used for?

What is Context API? The React Context API is a way for a React app to effectively produce global variables that can be passed around . This is the alternative to “prop drilling” or moving props from grandparent to child to parent, and so on.

Sizin İçin Seçtik  React life cycle nedir?

Leave a Reply

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