gqty-dev / gqty

The No-GraphQL Client for TypeScript
https://gqty.dev
MIT License
918 stars 27 forks source link

fix(package/gqty): force a pending fetch when debounce reached a limit #1801

Closed vicary closed 4 months ago

vicary commented 4 months ago

Forces the pending queries to fire when debouncing is pushed back for more than 20 microtasks, this probably means hacky implementations of selections made every other macrotask by users.

github-actions[bot] commented 4 months ago

🚀 Snapshot Release (canary)

The latest changes of this PR are available as canary on npm (based on the declared changesets): Package Version Info
@gqty/cli 4.0.0-canary-20240520170544.07f80fdfb24ff0bf201d25c8b48c32d89b8ec406 npm ↗︎ unpkg ↗︎
gqty 3.0.0-canary-20240520170544.07f80fdfb24ff0bf201d25c8b48c32d89b8ec406 npm ↗︎ unpkg ↗︎
@gqty/logger 3.0.0-canary-20240520170544.07f80fdfb24ff0bf201d25c8b48c32d89b8ec406 npm ↗︎ unpkg ↗︎
@gqty/react 3.0.0-canary-20240520170544.07f80fdfb24ff0bf201d25c8b48c32d89b8ec406 npm ↗︎ unpkg ↗︎