Skip to content

Commit

Permalink
Disable JS urls at build level for www (#15230)
Browse files Browse the repository at this point in the history
This will be on by default in open source for the next major.
  • Loading branch information
sebmarkbage authored Mar 28, 2019
1 parent fb6b508 commit c7a2dce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/shared/forks/ReactFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export const {
debugRenderPhaseSideEffectsForStrictMode,
replayFailedUnitOfWorkWithInvokeGuardedCallback,
warnAboutDeprecatedLifecycles,
disableJavaScriptURLs,
disableYielding,
disableInputAttributeSyncing,
warnAboutShorthandPropertyCollision,
Expand All @@ -39,6 +38,8 @@ export const enableStableConcurrentModeAPIs = false;

export const enableSuspenseServerRenderer = true;

export const disableJavaScriptURLs = true;

// I've chosen to make this a static flag instead of a dynamic flag controlled
// by a GK so that it doesn't increase bundle size. It should still be easy
// to rollback by reverting the commit that turns this on.
Expand Down

0 comments on commit c7a2dce

Please sign in to comment.