When is it important to pass props to super(), and why?
props
super()
class MyComponent extends React.Component { constructor(props) { supe
As per source code
function ReactComponent(props, context) { this.props = props; this.context = context; }
you must pass props every time you have props and you don't put them into this.props manually.
this.props