Skip to content

Commit

Permalink
Add links to reactwg discussions
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Jun 8, 2021
1 parent 1aa6633 commit 8910fa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/end-to-end.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ComponentWithLoader extends React.Component {
}

test('it waits for the data to be loaded', async () => {
// TODO: discussions/23#discussioncomment-812450
// TODO: https://github.com/reactwg/react-18/discussions/23#discussioncomment-812450
jest.useFakeTimers()

render(<ComponentWithLoader />)
Expand Down
1 change: 1 addition & 0 deletions src/pure.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ configureDTL({
act(() => {
// TODO: Remove ReactDOM.flushSync once `act` flushes the microtask queue.
// Otherwise `act` wrapping updates that schedule microtask would need to be followed with `await null` to flush the microtask queue manually
// See https://github.com/reactwg/react-18/discussions/21#discussioncomment-796755
result = ReactDOM.flushSync(cb)
})
return result
Expand Down

0 comments on commit 8910fa2

Please sign in to comment.