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 — [Fiber] Gate Update flag on BeforeMutationMask on flags by sebmarkbage · Pull Request #31921 · react/react Conversation
Contributor
We're currently visiting the snapshot phase for every The only flags that seem to use these wider visits is
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Comparing: fc8a898dd126198305fce458edd084c5d9c4b67a...25cfe7cdd0089da4d9e0a2642a1003ec1d97b4e3 Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: (No significant changes) |
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.
Defer to @acdlite because I don't know much about the fiber flags.
What is the Update flag intended to represent?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| ? // TODO: The useEffectEvent hook uses the snapshot phase for clean up but it | ||
| // really should use the mutation phase for this or at least schedule an | ||
| // explicit Snapshot phase flag for this. | ||
| Update |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I can update useEffectEvent, what's the reasoning for using the mutation phase for cleanup?
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.
I'm not quite sure why this needs an effect in general but ideally this is more like a read only phase and since it's rarely visited (except I will make heavy use of it in my VT PR) we shouldn't unnecessarily traverse for something unrelated like this.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| export const BeforeMutationMask: number = | ||
| // TODO: Remove Update flag from before mutation phase by re-landing Visibility | ||
| // flag logic (see #20043) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
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.
I think so because there's nothing that refer to it.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
We're currently visiting the snapshot phase for every `Update` flag even though we rarely have to do anything in the Snapshot phase. The only flags that seem to use these wider visits is `enableCreateEventHandleAPI` and `enableUseEffectEventHook` but really neither of those should do that neither. They should schedule explicit Snapshot phases if needed. DiffTrain build for [6ca7fbe](6ca7fbe)
We're currently visiting the snapshot phase for every `Update` flag even though we rarely have to do anything in the Snapshot phase. The only flags that seem to use these wider visits is `enableCreateEventHandleAPI` and `enableUseEffectEventHook` but really neither of those should do that neither. They should schedule explicit Snapshot phases if needed. DiffTrain build for [6ca7fbe](6ca7fbe)
We're currently visiting the snapshot phase for every `Update` flag even though we rarely have to do anything in the Snapshot phase. The only flags that seem to use these wider visits is `enableCreateEventHandleAPI` and `enableUseEffectEventHook` but really neither of those should do that neither. They should schedule explicit Snapshot phases if needed.
ca955705
Deployed
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.