Skip to content

Commit aff6b07

Browse files
committed
cleanup
1 parent 5f324ea commit aff6b07

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
@@ -168,46 +168,6 @@ export * from 'react-reconciler/src/ReactFiberConfigWithNoResources';
168168
export * from 'react-reconciler/src/ReactFiberConfigWithNoSingletons';
169169
export * from './ReactFiberConfigFabricWithViewTransition';
170170

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

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

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

376376
export const supportsMutation = true;
377-
export const supportsViewTransition = false;
378377

379378
export function appendChild(
380379
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)