Update ReactUpdateQueue.js (#14521)
Fix comment typo
Carl Mungazi committed
Jan 2, 2019 at 20:53 UTC
3494ee57e69f1f6cdf5e128dfbaa39db4dfd12db
1 file changed
+4
-4
packages/react-reconciler/src/ReactUpdateQueue.js
+4
-4
@@ -10,10 +10,10 @@
10
// UpdateQueue is a linked list of prioritized updates.
11
//
12
// 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.
17
//
18
// Both queues share a persistent, singly-linked list structure. To schedule an
19
// update, we append it to the end of both queues. Each queue maintains a