@@ -168,46 +168,6 @@ export * from 'react-reconciler/src/ReactFiberConfigWithNoResources';
168168export * from 'react-reconciler/src/ReactFiberConfigWithNoSingletons' ;
169169export * 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-
211171export function appendInitialChild (
212172 parentInstance : Instance ,
213173 child : Instance | TextInstance ,
0 commit comments