Skip to content

Commit 3494ee5

Browse files
CarlMungazigaearon
authored andcommitted
Update ReactUpdateQueue.js (#14521)
Fix comment typo
1 parent fef40c0 commit 3494ee5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react-reconciler/src/ReactUpdateQueue.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
// UpdateQueue is a linked list of prioritized updates.
1111
//
1212
// Like fibers, update queues come in pairs: a current queue, which represents
13-
// the visible state of the screen, and a work-in-progress queue, which is
14-
// can be mutated and processed asynchronously before it is committed — a form
15-
// of double buffering. If a work-in-progress render is discarded before
16-
// finishing, we create a new work-in-progress by cloning the current queue.
13+
// the visible state of the screen, and a work-in-progress queue, which can be
14+
// mutated and processed asynchronously before it is committed — a form of
15+
// double buffering. If a work-in-progress render is discarded before finishing,
16+
// we create a new work-in-progress by cloning the current queue.
1717
//
1818
// Both queues share a persistent, singly-linked list structure. To schedule an
1919
// update, we append it to the end of both queues. Each queue maintains a

0 commit comments

Comments
 (0)