arrow_backBACK TO DRILLS
White Beltcontext

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?