Removed takeSnapshot util function from ReactNative renderer

Summary:
It was added to react-native-implementation in c7387fe

Relates to [this comment](848593c0f0 (commitcomment-21585552)) and issue #13343

cc janicduplessis
Closes https://github.com/facebook/react-native/pull/13347

Reviewed By: bvaughn

Differential Revision: D4843898

Pulled By: ericvicenti

fbshipit-source-id: 2b83d7bd71b7a7e6961e4da551ddd4090af03824
This commit is contained in:
Brian Vaughn 2017-04-10 10:22:55 -07:00 committed by Facebook Github Bot
parent 78ab4ee893
commit c95a991061
2 changed files with 0 additions and 6 deletions

View File

@ -29,7 +29,6 @@ const deepFreezeAndThrowOnMutationInDev = require('deepFreezeAndThrowOnMutationI
const emptyObject = require('fbjs/lib/emptyObject');
const findNodeHandle = require('findNodeHandle');
const invariant = require('fbjs/lib/invariant');
const takeSnapshot = require('takeSnapshot');
const {injectInternals} = require('ReactFiberDevToolsHook');
@ -421,8 +420,6 @@ const ReactNative = {
return NativeRenderer.getPublicRootInstance(root);
},
takeSnapshot,
unmountComponentAtNode(containerTag: number) {
const root = roots.get(containerTag);
if (root) {

View File

@ -18,7 +18,6 @@ var ReactNativeStackInjection = require('ReactNativeStackInjection');
var ReactUpdates = require('ReactUpdates');
var findNodeHandle = require('findNodeHandle');
var takeSnapshot = require('takeSnapshot');
ReactNativeInjection.inject();
ReactNativeStackInjection.inject();
@ -47,8 +46,6 @@ var ReactNative = {
render: render,
takeSnapshot,
unmountComponentAtNode: ReactNativeMount.unmountComponentAtNode,
/* eslint-disable camelcase */