On the React 16 Context doc page, they have examples that look similar to this:
const defaultValue = \'light\'; const SomeContext = React.createContext(defaultVa
When there's no Provider, the defaultValue argument is used for function createContext. This is helpful for testing components in isolation without wrapping them, or testing it with different values from Provider.