SIGN IN SIGN UP

Don't recreate instance when resuming a class component's initial mount

Recreating the class instance causes refs (and other callbacks) to close
over stale instances.

Instead, re-use the previous instance. componentWillMount is called
again. We also call componentWillReceiveProps, to ensure that
state derived from props remains in sync.
A
Andrew Clark committed
12326665900d173bf616fde5bfdbc5f1b2ce66dc
Parent: 6facb85