Skip to content

Commit 8910fa2

Browse files
committed
Add links to reactwg discussions
1 parent 1aa6633 commit 8910fa2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: src/__tests__/end-to-end.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class ComponentWithLoader extends React.Component {
3030
}
3131

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

3636
render(<ComponentWithLoader />)

Diff for: src/pure.js

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ configureDTL({
2121
act(() => {
2222
// TODO: Remove ReactDOM.flushSync once `act` flushes the microtask queue.
2323
// Otherwise `act` wrapping updates that schedule microtask would need to be followed with `await null` to flush the microtask queue manually
24+
// See https://github.com/reactwg/react-18/discussions/21#discussioncomment-796755
2425
result = ReactDOM.flushSync(cb)
2526
})
2627
return result

0 commit comments

Comments
 (0)