Incremental: Fix require of performanceNow
Summary: Due to an earlier commit, we now have to use the full path for requiring `performanceNow`. **Test plan (required)** Verified that the IncrementalExample works when adding it to UIExplorer. Closes https://github.com/facebook/react-native/pull/9595 Differential Revision: D3775101 Pulled By: javache fbshipit-source-id: 6252ce8c872896f4cfdb9a31bdbc79d6aaf4684d
This commit is contained in:
parent
f0a3c56048
commit
b01feb41d8
|
@ -34,7 +34,7 @@ const IncrementalPresenter = require('IncrementalPresenter');
|
|||
const JSEventLoopWatchdog = require('JSEventLoopWatchdog');
|
||||
const StaticContainer = require('StaticContainer.react');
|
||||
|
||||
const performanceNow = require('performanceNow');
|
||||
const performanceNow = require('fbjs/lib/performanceNow');
|
||||
|
||||
InteractionManager.setDeadline(1000);
|
||||
JSEventLoopWatchdog.install({thresholdMS: 200});
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
*/
|
||||
'use strict';
|
||||
|
||||
const performanceNow = require('performanceNow');
|
||||
const performanceNow = require('fbjs/lib/performanceNow');
|
||||
|
||||
type Handler = {
|
||||
onIterate?: () => void,
|
||||
|
|
Loading…
Reference in New Issue