Create a Stateful Component4:21 with Guil Hernandez
In this video, we'll create a stateful component by first defining an initial state inside the
- constructor – MDN
- super – MDN
- Adding Local State to a Class
- Babel’s Transform Class Properties Plugin: How it Works and What it Means for your React Apps
- Is it better to define state in constructor or using property initializers?
You need to sign up for Treehouse in order to download course files.Sign up