Skip to content

Commit

Permalink
Disable ServerContext in stable
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Oct 6, 2023
1 parent dddfe68 commit 331cc6a
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 10 deletions.
1 change: 0 additions & 1 deletion packages/react/index.classic.fb.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export {
createElement,
createFactory,
createRef,
createServerContext,
use,
forwardRef,
isValidElement,
Expand Down
1 change: 0 additions & 1 deletion packages/react/index.modern.fb.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export {
createContext,
createElement,
createRef,
createServerContext,
use,
forwardRef,
isValidElement,
Expand Down
1 change: 0 additions & 1 deletion packages/react/index.stable.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export {
createElement,
createFactory,
createRef,
createServerContext,
use,
forwardRef,
isValidElement,
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/ReactFeatureFlags.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export const enableDebugTracing = false;
// Track which Fiber(s) schedule render work.
export const enableUpdaterTracking = __PROFILE__;

export const enableServerContext = true;
export const enableServerContext = __EXPERIMENTAL__;

// Internal only.
export const enableGetInspectorDataForInstanceInProduction = false;
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/forks/ReactFeatureFlags.native-fb.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const allowConcurrentByDefault = true;
export const enableCustomElementPropertySupport = false;

export const consoleManagedByDevToolsDuringStrictMode = false;
export const enableServerContext = true;
export const enableServerContext = false;

export const enableTransitionTracing = false;

Expand Down
2 changes: 1 addition & 1 deletion packages/shared/forks/ReactFeatureFlags.native-oss.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const allowConcurrentByDefault = false;
export const enableCustomElementPropertySupport = false;

export const consoleManagedByDevToolsDuringStrictMode = false;
export const enableServerContext = true;
export const enableServerContext = false;

export const enableTransitionTracing = false;

Expand Down
2 changes: 1 addition & 1 deletion packages/shared/forks/ReactFeatureFlags.test-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const allowConcurrentByDefault = false;
export const enableCustomElementPropertySupport = false;

export const consoleManagedByDevToolsDuringStrictMode = false;
export const enableServerContext = true;
export const enableServerContext = false;

export const enableTransitionTracing = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const enableUnifiedSyncLane = false;
export const allowConcurrentByDefault = true;

export const consoleManagedByDevToolsDuringStrictMode = false;
export const enableServerContext = true;
export const enableServerContext = false;

export const enableTransitionTracing = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const allowConcurrentByDefault = true;
export const enableCustomElementPropertySupport = false;

export const consoleManagedByDevToolsDuringStrictMode = false;
export const enableServerContext = true;
export const enableServerContext = false;

export const enableTransitionTracing = false;

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 @@ -102,7 +102,7 @@ export const disableTextareaChildren = __EXPERIMENTAL__;
export const allowConcurrentByDefault = true;

export const consoleManagedByDevToolsDuringStrictMode = true;
export const enableServerContext = true;
export const enableServerContext = false;

export const useModernStrictMode = false;
export const enableFizzExternalRuntime = true;
Expand Down

0 comments on commit 331cc6a

Please sign in to comment.