I set up a new react project and for some reason, the componentDidMount method is not being called.
componentDidMount
I have verified this behavior by placing a call to
For me, the reason was upper case "C" in ComponentDidMount.
Changed it to componentDidMount and it worked