When should I use useContext?

When do you need context? The main idea of using the context is to allow your components to access some global data and re-render when that global data is changed . Context solves the props drilling problem: when you have to pass down props from parents to children.2 Eyl 2021

Sizin İçin Seçtik  What are CodePen projects?

Leave a Reply

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