arrow_backBACK TO DRILLS
Blue Beltcontext
default context value is static
A context is created with createContext('light'). Later, components update theme state elsewhere in the app. What happens to the default value 'light'?
A context is created with createContext('light'). Later, components update theme state elsewhere in the app. What happens to the default value 'light'?