Strict Mode has no effect in New Architecture #130
joshuayoes
started this conversation in
Deep Dive
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue
Wrapping components with Strict Mode as of
0.72.0-rc.4
seems to have unexpected behavior on child components.Double Rendering in Development Behavior
According to the React docs, enabling Strict Mode should double render child components in development. In this example, there should be two "Create Story" cards caused by array mutation in the render function.
strict-mode-web.mov
strict-mode-ios.mov
Beta Was this translation helpful? Give feedback.
All reactions