Skip to content
Permalink
Browse files

Update ReactUpdateQueue.js (#14521)

Fix comment typo
  • Loading branch information
CarlMungazi authored and gaearon committed Jan 2, 2019
1 parent fef40c0 commit 3494ee57e69f1f6cdf5e128dfbaa39db4dfd12db
Showing with 4 additions and 4 deletions.
  1. +4 −4 packages/react-reconciler/src/ReactUpdateQueue.js
@@ -10,10 +10,10 @@
// UpdateQueue is a linked list of prioritized updates.
//
// Like fibers, update queues come in pairs: a current queue, which represents
// the visible state of the screen, and a work-in-progress queue, which is
// can be mutated and processed asynchronously before it is committed — a form
// of double buffering. If a work-in-progress render is discarded before
// finishing, we create a new work-in-progress by cloning the current queue.
// the visible state of the screen, and a work-in-progress queue, which can be
// mutated and processed asynchronously before it is committed — a form of
// double buffering. If a work-in-progress render is discarded before finishing,
// we create a new work-in-progress by cloning the current queue.
//
// Both queues share a persistent, singly-linked list structure. To schedule an
// update, we append it to the end of both queues. Each queue maintains a

0 comments on commit 3494ee5

Please sign in to comment.
You can’t perform that action at this time.