You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React is deprecating a bunch of APIs in favor of new/safer ways to do the same things while being more compatible with the upcoming React Suspense / Async Mode.
It'd be great if ReactXP was compatible with Strict-Mode sooner than later!
Details
My app run flags the following:
componentWillMount needs to be moved to: componentDidMount (or getDerivedStateFromProps) Used in:
native-common/RootView
web/ScrollView
web/listAnimations/MonitorListEdits
extensions/navigation/src/web/Navigator
componentWillReceiveProps needs to be moved to getDerivedStateFromPropsUsed in:
native-common/PopupContainerView
native-common/Button
native-common/View
web/View
windows/View
web/ViewBase
web/ScrollView
macos/TextInput
native-common/TextInput
web/TextInput
web/Image
web/Animated
web/RootView
extensions/virtuallistview/src/VirtualListCell
extensions/virtuallistview/src/VirtualListView
componentWillUpdate needs to move to to componentDidUpdate or getDerivedStateFromPropsUsed in:
React is deprecating a bunch of APIs in favor of new/safer ways to do the same things while being more compatible with the upcoming React Suspense / Async Mode.
It'd be great if ReactXP was compatible with Strict-Mode sooner than later!
Details
My app run flags the following:
componentWillMountneeds to be moved to:componentDidMount(orgetDerivedStateFromProps) Used in:componentWillReceivePropsneeds to be moved togetDerivedStateFromPropsUsed in:componentWillUpdateneeds to move to tocomponentDidUpdateorgetDerivedStateFromPropsUsed in:Docs