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
No warning generated when rendering a Form component.
Actual behaviour
A warning is generated when rendering a Form component.
Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.
Please update the following components: Component
Steps to reproduce
Create a Form with a Textbox in it
Have it rendered
Warning appears
Stack trace and console log
YellowBox.js:71 Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.
Please update the following components: Component
Learn more about this warning here:
https://fb.me/react-async-component-lifecycle-hooks
console.warn @ YellowBox.js:71
printWarning @ ReactNativeRenderer-dev.js:6429
lowPriorityWarning @ ReactNativeRenderer-dev.js:6457
ReactStrictModeWarnings.flushPendingDeprecationWarnings @ ReactNativeRenderer-dev.js:6601
flushRenderPhaseStrictModeWarningsInDEV @ ReactNativeRenderer-dev.js:18529
commitRootImpl @ ReactNativeRenderer-dev.js:17863
unstable_runWithPriority @ scheduler.development.js:471
runWithPriority @ ReactNativeRenderer-dev.js:5532
commitRoot @ ReactNativeRenderer-dev.js:17845
runRootCallback @ ReactNativeRenderer-dev.js:17218
flushImmediateQueueImpl @ ReactNativeRenderer-dev.js:5581
flushImmediateQueue @ ReactNativeRenderer-dev.js:5568
scheduleUpdateOnFiber @ ReactNativeRenderer-dev.js:17073
enqueueSetState @ ReactNativeRenderer-dev.js:7912
Component.setState @ react.development.js:335
componentDidMount$ @ createAppContainer.js:297
tryCatch @ runtime.js:45
invoke @ runtime.js:271
prototype.(anonymous function) @ runtime.js:97
tryCatch @ runtime.js:45
invoke @ runtime.js:135
(anonymous) @ runtime.js:145
tryCallOne @ core.js:37
(anonymous) @ core.js:123
(anonymous) @ JSTimers.js:289
_callTimer @ JSTimers.js:146
_callImmediatesPass @ JSTimers.js:194
callImmediates @ JSTimers.js:458
__callImmediates @ MessageQueue.js:366
(anonymous) @ MessageQueue.js:135
__guard @ MessageQueue.js:343
flushedQueue @ MessageQueue.js:134
invokeCallbackAndReturnFlushedQueue @ MessageQueue.js:130
e @ RNDebuggerWorker.js:1
The text was updated successfully, but these errors were encountered:
Version
Tell us which versions you are using:
Expected behaviour
No warning generated when rendering a Form component.
Actual behaviour
A warning is generated when rendering a Form component.
Steps to reproduce
Stack trace and console log
The text was updated successfully, but these errors were encountered: