For ref:
https://app.pluralsight.com/player?course=react-fundamentals&author=liam-mclennan&name=react-fundamentals-m2-components&clip=3&mode=live
React Author Quiz sample
for ref:
Basic component definition and rendering
http://jsfiddle.net/kb3gn/428/
Nested componenets
http://jsfiddle.net/kb3gn/364/
State + Get Inital state
http://jsfiddle.net/kb3gn/366/
Counter doesn't change - so no need to use state
see same thing here that counter do change mye
http://jsfiddle.net/kb3gn/367/
Default values
Validation of props: (If you don't see anything below is because React prop validation has failed)
change Hello component params from b={3} to b={a number bigger then 5} /> to see results
Mixings - adding a function to many componenets with retyping it
OnChange events - open the console to see everything you type in text box being logged
componentDidMount - Is called immediately after the render function is finished (see console for tick have happened!)
Chnaging a controlled componenet