Pregunta de entrevista de JellyFish Technologies

What is context api ? please explain

Respuesta de la entrevista

Anónimo

5 sept 2023

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. Context is also touted as an easier, lighter approach to state management using Redux.