Closed jhainaua closed 4 years ago
It's a little difficult to review this PR for its stated goals, because of all the whitespace changes.
Can those be separated out into a different PR?
I don't have time to address this today or Tuesday. I'll have time to post a revised PR by Wednesday or Thursday. In the meantime; for anyone else who might be having some trouble locating the changes please see my notes below. Thank you for your patience.
NEW CODE: componentDidMount, componentWillUnmount, componentDidUpdate.
vs.
EXISTING CODE: componentDidMount, componentWillUnmount, componentWillReceiveProps
@jhainaua what's the goal of tracking the lifecycle in the _isMounted
variable?
@jhainaua @kenmistry @dsernst i've upgraded the component to use the component did mount, please upgrade to 2.7.1
Add _isMounted to handle async requests while CountDown is unmounted.