Skip to content

Commit

Permalink
now isn't part of the react-reconciler config anymore (#24689)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour authored Jun 8, 2022
1 parent b345523 commit 4794414
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions packages/react-reconciler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,6 @@ You can leave it empty.

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

#### `now()`

You can proxy this to `performance.now()` or its equivalent in your environment.

#### `scheduleTimeout(fn, delay)`

You can proxy this to `setTimeout` or its equivalent in your environment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export const createTextInstance = $$$hostConfig.createTextInstance;
export const scheduleTimeout = $$$hostConfig.scheduleTimeout;
export const cancelTimeout = $$$hostConfig.cancelTimeout;
export const noTimeout = $$$hostConfig.noTimeout;
export const now = $$$hostConfig.now;
export const isPrimaryRenderer = $$$hostConfig.isPrimaryRenderer;
export const warnsIfNotActing = $$$hostConfig.warnsIfNotActing;
export const supportsMutation = $$$hostConfig.supportsMutation;
Expand Down

0 comments on commit 4794414

Please sign in to comment.