Closed kemuridama closed 3 years ago
Thank you for the improvement!
@yangshun Thank you for your review and approval. Would you publish patch release, please?
The all users using a combination of facebook/flux and React v17 are looking for this patch release.
Thanks!!
In React 17, we should use
UNSAFE_coponentWillReceiveProps()
instead ofcomponentWillReceiveProps()
. But a container component created byContainer.create()
overrides an originalUNSAFE_componentWillReceiveProps()
and does not call it.This PR makes a container component calls both
super.UNSAFE_componentWillReceiveProps()
andsuper.componentWillReceiveProps()
in lifecycle.Please release patch version if this PR approved and merged.