This method has been known as, a child class constructor cannot create use of this reference until super() . The same applies for ES6 sub-classes as well. The main reason…
What’s the difference between super() and super(props) in React
1 Article
1