mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 20:25:33 +08:00
JS: Switch to nullthrows Package [1/4]
Summary: Switches to the `nullthrows` package instead of using `fbjs/lib/nullthrows`. The version of `nullthrows` in `fbjs` is outdated and already missing features that exist in the standalone `nullthrows` package. Also, this mitigates the inevitable collision between `nullthrows` (as a Haste module) and `nullthrows` (as a `node_modules` dependency). Reviewed By: zertosh Differential Revision: D9733178 fbshipit-source-id: 1b589d48c1ed57cebf2088b796ad72e212534c0a
This commit is contained in:
committed by
Facebook Github Bot
parent
1830f9baae
commit
5023b105e4
@@ -19,7 +19,7 @@ const TextInputState = require('TextInputState');
|
||||
const UIManager = require('UIManager');
|
||||
|
||||
const invariant = require('fbjs/lib/invariant');
|
||||
const nullthrows = require('fbjs/lib/nullthrows');
|
||||
const nullthrows = require('nullthrows');
|
||||
const performanceNow = require('fbjs/lib/performanceNow');
|
||||
const warning = require('fbjs/lib/warning');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user