Skip to content

Instantly share code, notes, and snippets.

@jeremyfelt
Last active April 11, 2017 05:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyfelt/06bef9600d529535e9ea835c4809b9f1 to your computer and use it in GitHub Desktop.
Save jeremyfelt/06bef9600d529535e9ea835c4809b9f1 to your computer and use it in GitHub Desktop.
It's super
class React.Component {}
class First extends React.Component {
constructor(props) {
super();
}
}
class Second extends First {
constructor(props) {
super(props); // not available?
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment