Skip to content

Commit c95a991

Browse files
Brian Vaughnfacebook-github-bot
authored andcommitted
Removed takeSnapshot util function from ReactNative renderer
Summary: It was added to react-native-implementation in c7387fe Relates to [this comment](848593c#commitcomment-21585552) and issue #13343 cc janicduplessis Closes #13347 Reviewed By: bvaughn Differential Revision: D4843898 Pulled By: ericvicenti fbshipit-source-id: 2b83d7bd71b7a7e6961e4da551ddd4090af03824
1 parent 78ab4ee commit c95a991

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

Libraries/Renderer/src/renderers/native/ReactNativeFiber.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ const deepFreezeAndThrowOnMutationInDev = require('deepFreezeAndThrowOnMutationI
2929
const emptyObject = require('fbjs/lib/emptyObject');
3030
const findNodeHandle = require('findNodeHandle');
3131
const invariant = require('fbjs/lib/invariant');
32-
const takeSnapshot = require('takeSnapshot');
3332

3433
const {injectInternals} = require('ReactFiberDevToolsHook');
3534

@@ -421,8 +420,6 @@ const ReactNative = {
421420
return NativeRenderer.getPublicRootInstance(root);
422421
},
423422

424-
takeSnapshot,
425-
426423
unmountComponentAtNode(containerTag: number) {
427424
const root = roots.get(containerTag);
428425
if (root) {

Libraries/Renderer/src/renderers/native/ReactNativeStack.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ var ReactNativeStackInjection = require('ReactNativeStackInjection');
1818
var ReactUpdates = require('ReactUpdates');
1919

2020
var findNodeHandle = require('findNodeHandle');
21-
var takeSnapshot = require('takeSnapshot');
2221

2322
ReactNativeInjection.inject();
2423
ReactNativeStackInjection.inject();
@@ -47,8 +46,6 @@ var ReactNative = {
4746

4847
render: render,
4948

50-
takeSnapshot,
51-
5249
unmountComponentAtNode: ReactNativeMount.unmountComponentAtNode,
5350

5451
/* eslint-disable camelcase */

0 commit comments

Comments
 (0)