Skip to content

Commit 4794414

Browse files
now isn't part of the react-reconciler config anymore (#24689)
1 parent b345523 commit 4794414

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

packages/react-reconciler/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,6 @@ You can leave it empty.
187187

188188
This method is called for a container that's used as a portal target. Usually you can leave it empty.
189189

190-
#### `now()`
191-
192-
You can proxy this to `performance.now()` or its equivalent in your environment.
193-
194190
#### `scheduleTimeout(fn, delay)`
195191

196192
You can proxy this to `setTimeout` or its equivalent in your environment.

packages/react-reconciler/src/forks/ReactFiberHostConfig.custom.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export const createTextInstance = $$$hostConfig.createTextInstance;
5454
export const scheduleTimeout = $$$hostConfig.scheduleTimeout;
5555
export const cancelTimeout = $$$hostConfig.cancelTimeout;
5656
export const noTimeout = $$$hostConfig.noTimeout;
57-
export const now = $$$hostConfig.now;
5857
export const isPrimaryRenderer = $$$hostConfig.isPrimaryRenderer;
5958
export const warnsIfNotActing = $$$hostConfig.warnsIfNotActing;
6059
export const supportsMutation = $$$hostConfig.supportsMutation;

0 commit comments

Comments
 (0)