urql-graphql / urql

The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
https://urql.dev/goto/docs
MIT License
8.55k stars 443 forks source link

fix(react): prioritise context.suspense #3427

Closed JoviDeCroock closed 8 months ago

JoviDeCroock commented 8 months ago

Resolves #3426

Summary

When context.suspense is defined we should respect that value and only fallback to client.suspense when it's undefined

changeset-bot[bot] commented 8 months ago

🦋 Changeset detected

Latest commit: 2895e165e3e8e22c2c308339935dc3ecbc941634

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ------------ | ----- | | urql | Patch | | @urql/preact | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

ValenCassa commented 8 months ago

Hey Jovi! Thanks for the quick fix! Do you know when's this one going to get merged? We started to migrate to using suspense and it's blocking our team