Hacker News new | ask | show | jobs
by mikewhy 2474 days 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,
      }
    }