Skip to content

Commit accdcfb

Browse files
rubennortefacebook-github-bot
authored andcommitted
Simplify RendererProxy and RendererImplementation to Fabric-only
Summary: Changelog: [internal] All Meta apps have migrated to Fabric, so we no longer need to support Paper in the renderer infrastructure. This commit simplifies: - RendererImplementation.js: Rewritten to only use Fabric renderer - RendererProxy.fb.js: Removed Paper-related exports - RendererProxy.js: Updated comment to reflect Fabric variants (profiling vs production) - FabricRendererImplementationWithProfiling.js: Removed Paper shims - Jest mock RendererProxy.js: Removed Paper exports Differential Revision: D101353113
1 parent ddfad10 commit accdcfb

7 files changed

Lines changed: 35 additions & 918 deletions

File tree

packages/jest-preset/jest/mocks/RendererProxy.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ const {
2323
isProfilingRenderer,
2424
renderElement,
2525
sendAccessibilityEvent,
26-
unmountComponentAtNodeAndRemoveContainer,
2726
unstable_batchedUpdates,
2827
} = jest.requireActual<TRendererImplementation>(
2928
'react-native/Libraries/ReactNative/RendererImplementation',
@@ -40,6 +39,5 @@ export {
4039
isProfilingRenderer,
4140
renderElement,
4241
sendAccessibilityEvent,
43-
unmountComponentAtNodeAndRemoveContainer,
4442
unstable_batchedUpdates,
4543
};

0 commit comments

Comments
 (0)