diff --git a/Libraries/Experimental/IncrementalExample.js b/Libraries/Experimental/IncrementalExample.js index a2b917668..0e6779d45 100644 --- a/Libraries/Experimental/IncrementalExample.js +++ b/Libraries/Experimental/IncrementalExample.js @@ -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}); diff --git a/Libraries/Interaction/JSEventLoopWatchdog.js b/Libraries/Interaction/JSEventLoopWatchdog.js index 16848be5a..8d5dfadb9 100644 --- a/Libraries/Interaction/JSEventLoopWatchdog.js +++ b/Libraries/Interaction/JSEventLoopWatchdog.js @@ -11,7 +11,7 @@ */ 'use strict'; -const performanceNow = require('performanceNow'); +const performanceNow = require('fbjs/lib/performanceNow'); type Handler = { onIterate?: () => void,