Skip to content

What is Context API, and when should you use it? #538

Answered by OrasanuAna
GeorgianaBuznea asked this question in Q&A
Discussion options

You must be logged in to vote

Context API enables sharing data (like themes or global settings) between components without passing props manually. It's best used to avoid "prop drilling."

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by GeorgianaBuznea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants