The previous lesson introduced the React component lifecycle mounting and unmounting. In this lesson you will learn some simple uses for these hooks and how we can interact with state.
Why do you store btnStyle directly on the object, instead of on the state?
Hi, are these code examples supposed to be working with the latest version of react? none of the code samples are working for me.
It's working for me, using react 0.13.2. Here is a working example of the above code: http://jsfiddle.net/faria/d0sycoxv/1/
getting an error saying 'component's children should no be mutated'. in button...
I really like the lessons, everything is becoming clear now.