Why do we use super() and why is it necessary if I am not using it react is throwing an error. And why should it only be written in constructor??
Why do we use super() and why is it necessary if I am not using it react is throwing an error. And why should it only be written in constructor??