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 is the purpose of using super constructor with props argument
1 Article
1