Skip to content

Commit e5a7693

Browse files
committed
cleanup
1 parent efe355f commit e5a7693

4 files changed

Lines changed: 0 additions & 43 deletions

File tree

packages/react-art/src/ReactFiberConfigART.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,6 @@ export const isPrimaryRenderer = false;
414414
export const warnsIfNotActing = false;
415415

416416
export const supportsMutation = true;
417-
export const supportsViewTransition = false;
418417

419418
export function appendChild(parentInstance, child) {
420419
if (child.parentNode === parentInstance) {

packages/react-native-renderer/src/ReactFiberConfigFabric.js

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -165,46 +165,6 @@ export * from 'react-reconciler/src/ReactFiberConfigWithNoResources';
165165
export * from 'react-reconciler/src/ReactFiberConfigWithNoSingletons';
166166
export * from './ReactFiberConfigFabricWithViewTransition';
167167

168-
// -------------------
169-
// Mutation
170-
// (not supported)
171-
// -------------------
172-
173-
function shim(...args: any): empty {
174-
throw new Error(
175-
'The current renderer does not support mutation. ' +
176-
'This error is likely caused by a bug in React. ' +
177-
'Please file an issue.',
178-
);
179-
}
180-
181-
export const supportsMutation = false;
182-
183-
export const cloneMutableInstance = shim;
184-
export const cloneMutableTextInstance = shim;
185-
export const appendChild = shim;
186-
export const appendChildToContainer = shim;
187-
export const commitTextUpdate = shim;
188-
189-
export function commitMount(
190-
instance: Instance,
191-
type: string,
192-
newProps: Props,
193-
internalInstanceHandle: Object,
194-
): void {}
195-
196-
export const commitUpdate = shim;
197-
export const insertBefore = shim;
198-
export const insertInContainerBefore = shim;
199-
export const removeChild = shim;
200-
export const removeChildFromContainer = shim;
201-
export const resetTextContent = shim;
202-
export const hideInstance = shim;
203-
export const hideTextInstance = shim;
204-
export const unhideInstance = shim;
205-
export const unhideTextInstance = shim;
206-
export const clearContainer = shim;
207-
208168
export function appendInitialChild(
209169
parentInstance: Instance,
210170
child: Instance | TextInstance,

packages/react-native-renderer/src/ReactFiberConfigNative.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ export function shouldAttemptEagerTransition(): boolean {
373373
// -------------------
374374

375375
export const supportsMutation = true;
376-
export const supportsViewTransition = false;
377376

378377
export function appendChild(
379378
parentInstance: Instance,

packages/react-test-renderer/src/ReactFiberConfigTestHost.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ export const noTimeout: -1 = -1;
274274
// -------------------
275275

276276
export const supportsMutation = true;
277-
export const supportsViewTransition = false;
278277

279278
export function commitUpdate(
280279
instance: Instance,

0 commit comments

Comments
 (0)