React's Context API lets you share a value with a whole component subtree without prop drilling. It's great for low-frequency, widely-shared data — but it's not a full state-management solution and has a re-render pitfall for frequently-changing state.
When Context shines
= ();
() {
[theme, setTheme] = ();
(
);
}
