• 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
..
__snapshots__ Loading commit data...
exchanges Loading commit data...
internal Loading commit data...
test-utils Loading commit data...
utils Loading commit data...
client.test.ts Loading commit data...
client.ts Loading commit data...
gql.test.ts Loading commit data...
gql.ts Loading commit data...
index.ts Loading commit data...
types.ts Loading commit data...