react/packages
Brian Vaughn d3b183c323
Debug render-phase side effects in "strict" mode (#12094)
A new feature flag has been added, debugRenderPhaseSideEffectsForStrictMode. When enabled, StrictMode subtrees will also double-invoke lifecycles in the same way as debugRenderPhaseSideEffects.

By default, this flag is enabled for __DEV__ only. Internally we can toggle it with a GK.

This breaks several of our incremental tests which make use of the noop-renderer. Updating the tests to account for the double-rendering in development mode makes them significantly more complicated. The most straight forward fix for this will be to convert them to be run as internal tests only. I believe this is reasonable since we are the only people making use of the noop renderer.
2018-01-25 14:30:53 -08:00
..
events Add a workaround for incomplete Proxy polyfill issue (#12017) 2018-01-14 18:39:33 +00:00
react Debug render-phase side effects in "strict" mode (#12094) 2018-01-25 14:30:53 -08:00
react-art Sync scheduling by default, with an async opt-in (#11771) 2018-01-08 18:50:02 -08:00
react-call-return Debug render-phase side effects in "strict" mode (#12094) 2018-01-25 14:30:53 -08:00
react-dom Coalesce lifecycle deprecation warnings until the commit phase (#12084) 2018-01-24 21:41:40 -08:00
react-native-renderer Test that fabric renderer sends diffs (#12075) 2018-01-22 22:29:43 -08:00
react-noop-renderer Remove vars (#11766) 2017-12-05 13:47:57 +00:00
react-reconciler Debug render-phase side effects in "strict" mode (#12094) 2018-01-25 14:30:53 -08:00
react-test-renderer RFC 6: Deprecate unsafe lifecycles (#12028) 2018-01-19 09:36:46 -08:00
shared Debug render-phase side effects in "strict" mode (#12094) 2018-01-25 14:30:53 -08:00