Updated example to show WillMount, WillUnmount, and WillReceiveProps lifecycle events are called when expected