The solution by @ChaitraNadig works, passing props in two places, (1) as a parameter in the constructor function and (2) as an argument when calling super.
Note that a lot of users might not have this problem because in an earlier lecture, there was an issue with ‘this’ being undefined in a method named ‘handleIncrement’, and Mosh provides two solutions. If you use the solution that involves the bind method in constructor then you’ll get this error described above. If however you use the solution that assigns ‘handleIncrement’ to an arrow function, then the above error doesn’t occur.