arrow_backBACK TO DRILLS
White Belt - Easycontext

useContext Resolution With Nested Providers

A component calls useContext(ThemeContext) and is wrapped by two nested providers: an outer provider with value "dark" and an inner provider with value "light". Which value does the component receive if it is rendered inside the inner provider?

BugDojo
BlogFAQ

© 2026. Carved in code.