QuizNot attempted
Nested providers: innermost wins
1–4 to choose, Enter to submit
Show answer & explanation
Correct answer:
blue
useContextreads the value from the nearest Provider above the component, so the innerblueprovider wins.- Not light: the default is used only with no provider at all.
- Not dark: the outer provider is shadowed.
- Not 'throws': nesting providers of the same context is normal (e.g. themed sections).