Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2919,7 +2919,8 @@ describe('ReactFlightDOM', () => {
expect(getMeaningfulChildren(container)).toEqual(<div>loading...</div>);
});

// @gate enableHalt
// This could be a bug. Discovered while making enableAsyncDebugInfo dynamic for www.
// @gate experimental && (enableHalt || (enableAsyncDebugInfo && __DEV__))
it('will leave async iterables in an incomplete state when halting', async () => {
let resolve;
const wait = new Promise(r => (resolve = r));
Expand Down
1 change: 1 addition & 0 deletions packages/shared/forks/ReactFeatureFlags.www-dynamic.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const enableComponentPerformanceTrack: boolean = __VARIANT__;
export const enableScrollEndPolyfill: boolean = __VARIANT__;
export const enableFragmentRefs: boolean = __VARIANT__;
export const enableFragmentRefsScrollIntoView: boolean = __VARIANT__;
export const enableAsyncDebugInfo: boolean = __VARIANT__;

// TODO: These flags are hard-coded to the default values used in open source.
// Update the tests so that they pass in either mode, then set these
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/forks/ReactFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const {
enableScrollEndPolyfill,
enableFragmentRefs,
enableFragmentRefsScrollIntoView,
enableAsyncDebugInfo,
} = dynamicFeatureFlags;

// On WWW, __EXPERIMENTAL__ is used for a new modern build.
Expand Down Expand Up @@ -94,7 +95,6 @@ export const passChildrenWhenCloningPersistedNodes: boolean = false;

export const enablePersistedModeClonedFlag: boolean = false;

export const enableAsyncDebugInfo: boolean = false;
export const disableClientCache: boolean = true;

export const enableReactTestRendererWarning: boolean = false;
Expand Down
Loading