Skip to content

Commit 6a1dfe3

Browse files
authored
Disable moveBefore experiment (facebook#33348)
There seems to be some bugs still to work out in Chrome. See facebook#33187. Additionally, since you can't really rely on this function existing across browsers, it's hard to depend on its behavior anyway. In fact, you now have a source of inconsistent behaviors across browsers to deal with. Ideally it would also be more widely spread in fake DOM implementations like JSDOM so that we can use it unconditionally. facebook#33177. We still want to enable this since it's a great feature but maybe not until it's more widely available cross-browsers with fewer bugs.
1 parent 99efc62 commit 6a1dfe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/ReactFeatureFlags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export const disableLegacyContext = true;
194194
export const disableLegacyContextForFunctionComponents = true;
195195

196196
// Enable the moveBefore() alternative to insertBefore(). This preserves states of moves.
197-
export const enableMoveBefore = __EXPERIMENTAL__;
197+
export const enableMoveBefore = false;
198198

199199
// Disabled caching behavior of `react/cache` in client runtimes.
200200
export const disableClientCache = true;

0 commit comments

Comments
 (0)