GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — OSS feature flag updates by bvaughn · Pull Request #21597 · react/react Conversation
|
| // It's not used anywhere in production yet. | ||
|
|
||
| export const enableStrictEffects = | ||
| __DEV__ && dynamicFeatureFlags.enableStrictEffects; |
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
In theory these __DEV__ flags shouldn't be needed since every usage of this flag should also be wrapped in __DEV__. Otherwise, when we remove the flag, we might have missed to wrap it.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yes, they are wrapped.
This change is a follow up to this thread/suggestion:
#21590 (comment)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Comparing: efbd69b...f27b230 Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Summary: - **[0eea577](react/react@0eea57724 )**: Fix typo in comment (accumlated → accumulated) ([#21637](react/react#21637)) //<ithinker5>// - **[0706162](react/react@0706162ba )**: Fix typo in comment (environement → environment) ([#21635](react/react#21635)) //<niexq>// - **[9d17b56](react/react@9d17b562b )**: Fix typo in comment (satsify → satisfy) ([#21629](react/react#21629)) //<niexq>// - **[b610fec](react/react@b610fec00 )**: fix comments: expiration time -> lanes ([#21551](react/react#21551)) //<Shannon Feng>// - **[cc4d24a](react/react@cc4d24ab0 )**: [Fizz] Always call flush() if it exists ([#21625](react/react#21625)) //<Dan Abramov>// - **[e0d9b28](react/react@e0d9b2899 )**: [Fizz] Minor Fixes for Warning Parity ([#21618](react/react#21618)) //<Sebastian Markbåge>// - **[1b7b359](react/react@1b7b3592f )**: [Fizz] Implement Component Stacks in DEV for warnings ([#21610](react/react#21610)) //<Sebastian Markbåge>// - **[39f0074](react/react@39f007489 )**: Make enableSuspenseLayoutEffectSemantics static for www ([#21617](react/react#21617)) //<Brian Vaughn>// - **[8f37942](react/react@8f3794276 )**: Prepare semver (`latest`) releases in CI ([#21615](react/react#21615)) //<Andrew Clark>// - **[8b42015](react/react@8b4201535 )**: Devtools: add feature to trigger an error boundary ([#21583](react/react#21583)) //<Bao Pham>// - **[154a8cf](react/react@154a8cf32 )**: Fix reference to wrong variable //<Andrew Clark>// - **[6736a38](react/react@6736a38b9 )**: Add single source of truth for package versions ([#21608](react/react#21608)) //<Andrew Clark>// - **[86715ef](react/react@86715efa2 )**: Resolve the true entry point during tests ([#21505](react/react#21505)) //<Sebastian Markbåge>// - **[a8a4742](react/react@a8a4742f1 )**: Convert ES6/TypeScript/CoffeeScript Tests to createRoot + act ([#21598](react/react#21598)) //<Sebastian Markbåge>// - **[1d35589](react/react@1d3558965 )**: Disable deferRenderPhaseUpdateToNextBatch by default ([#21605](react/react#21605)) //<Sebastian Markbåge>// - **[a896464](react/react@a8964649b )**: Delete an unused field ([#21415](react/react#21415)) //<okmttdhr>// - **[76f85b3](react/react@76f85b3e5 )**: Expose Fizz in stable builds ([#21602](react/react#21602)) //<Dan Abramov>// - **[e16d61c](react/react@e16d61c30 )**: [Offscreen] Mount/unmount layout effects ([#21386](react/react#21386)) //<Andrew Clark>// - **[6309193](react/react@63091939b )**: OSS feature flag updates ([#21597](react/react#21597)) //<Brian Vaughn>// - **[efbd69b](react/react@efbd69b27 )**: Define global __WWW__ = true flag during www tests ([#21504](react/react#21504)) //<Sebastian Markbåge>// - **[28625c6](react/react@28625c6f4 )**: Disable strict effects for legacy roots (again) ([#21591](react/react#21591)) //<Brian Vaughn>// - **[3c23414](react/react@3c2341416 )**: Update jest to v26 ([#21574](react/react#21574)) //<Sebastian Silbermann>// - **[0d493dc](react/react@0d493dcda )**: Removed _debugID field from Fiber - Issue #21558 ([#21570](react/react#21570)) //<Pulkit Sharma>// - **[7841d06](react/react@7841d0695 )**: Enable the updater-tracking feature flag in more builds ([#21567](react/react#21567)) //<Brian Vaughn>// - **[6405efc](react/react@6405efc36 )**: Enabled Profiling feature flags for OSS release ([#21565](react/react#21565)) //<Brian Vaughn>// Changelog: [General][Changed] - React Native sync for revisions 2d8d133...0eea577 jest_e2e[run_all_tests] Reviewed By: bvaughn Differential Revision: D28932083 fbshipit-source-id: 012c1bfb857ed59d7283334d633f1cce8ec50360
Co-authored-by: Dan Abramov <[email protected]>
|
@bvaughn does this turn Strict Effects on even outside of StrictMode? It looks like for strict effects, we only check the feature flag, instead of checking the mode on the fiber? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Oh right, I forgot about the MountLayoutDev and MountPassiveDev flags thing. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Dan Abramov <[email protected]>
Co-authored-by: Dan Abramov <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.