mirror of
https://github.com/status-im/react-native.git
synced 2025-02-27 16:40:38 +00:00
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:
parent
78ab4ee893
commit
c95a991061
@ -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) {
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user