I\'m new to React and I\'m learning about the React component lifecycle with the latest version of React. My "super" call of the partial code below is flagged with
super(props); isn't deprecated yet. The deprecation message actually caused from a bug in React's type definition file and is already fixed as of @types/react 16.9.51. Just upgrade the package and you're good to go: