@samitouri / QOS-React-2 / commits / 47944142f5

`now` isn't part of the react-reconciler config anymore (#24689)

Mathieu Dutour committed Jun 8, 2022 at 18:00 UTC 47944142f57d8c1c7b79eaf6522de38e76137ca5
2 files changed -5
packages/react-reconciler/README.md
-4
@@ -187,10 +187,6 @@ You can leave it empty.
187
188 This method is called for a container that's used as a portal target. Usually you can leave it empty.
189
190 -#### `now()`
191 -
192 -You can proxy this to `performance.now()` or its equivalent in your environment.
193 -
190 #### `scheduleTimeout(fn, delay)`
191
192 You can proxy this to `setTimeout` or its equivalent in your environment.
packages/react-reconciler/src/forks/ReactFiberHostConfig.custom.js
-1
@@ -54,7 +54,6 @@ export const createTextInstance = $$$hostConfig.createTextInstance;
54 export const scheduleTimeout = $$$hostConfig.scheduleTimeout;
55 export const cancelTimeout = $$$hostConfig.cancelTimeout;
56 export const noTimeout = $$$hostConfig.noTimeout;
57 -export const now = $$$hostConfig.now;
57 export const isPrimaryRenderer = $$$hostConfig.isPrimaryRenderer;
58 export const warnsIfNotActing = $$$hostConfig.warnsIfNotActing;
59 export const supportsMutation = $$$hostConfig.supportsMutation;