• Phil Pluckthun's avatar
    fix(react): Prevent the operation queue from being flushed during synchronous cache reads (#2556) · 32173334
    Phil Pluckthun authored
    * Prevent operation queue from running when synchronous source completes
    
    Differentiate between synchronous operation queue runs and
    scheduled/deferred queue runs by:
    - Using nextOperation directly for non-queue runs
    - Interrupting the queue when the source terminates
    - Always scheduling a deferred queue flush even if it'll have nothing to flush
    
    * Prevent dispatchOperation queue to run inside a queue
    
    * Remove currentInit check to allow React to recursively continue work
    
    * Add changeset
    32173334
Name
Last commit
Last update
..
components Loading commit data...
hooks Loading commit data...
test-utils Loading commit data...
context.ts Loading commit data...
index.ts Loading commit data...