mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 20:01:01 +08:00
Use invariant instead of fbjs/lib/invariant
Summary: This is one more step to remove `fbjs` from `react-native-github`. This changes both the internal and external code to use `invariant` from zertosh instead of the copy in fbjs. Reviewed By: yungsters Differential Revision: D13195941 fbshipit-source-id: 73564ca1715110e7da9c7ef56dc57374d61377e0
This commit is contained in:
committed by
Facebook Github Bot
parent
cb6eb03776
commit
4148976a83
@@ -14,7 +14,7 @@ const ErrorUtils = require('ErrorUtils');
|
||||
const Systrace = require('Systrace');
|
||||
|
||||
const deepFreezeAndThrowOnMutationInDev = require('deepFreezeAndThrowOnMutationInDev');
|
||||
const invariant = require('fbjs/lib/invariant');
|
||||
const invariant = require('invariant');
|
||||
const stringifySafe = require('stringifySafe');
|
||||
|
||||
export type SpyData = {
|
||||
|
||||
Reference in New Issue
Block a user