4 ms·
Was there ever any clarification on why the React team went with a single `contextType`, and not something like: class MyComponent extends Component {
by mikewhy 7y ago
Was there ever any clarification on why the React team went with a single `contextType`, and not something like:
class MyComponent extends Component {
static contextTypes = {
auth: AuthContext,
}
}