@@ -165,46 +165,6 @@ export * from 'react-reconciler/src/ReactFiberConfigWithNoResources';
165165export * from 'react-reconciler/src/ReactFiberConfigWithNoSingletons' ;
166166export * 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-
208168export function appendInitialChild (
209169 parentInstance : Instance ,
210170 child : Instance | TextInstance ,
0 commit comments