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.57k stars 445 forks source link

fix(next): invalid CJS React import #3405

Closed JoviDeCroock closed 9 months ago

JoviDeCroock commented 9 months ago

Resolves #3400

Summary

When leveraging the compatibility settings for React and using the default import we get a very weird statement that isn't supported by all CJS using bundlers.

changeset-bot[bot] commented 9 months ago

🦋 Changeset detected

Latest commit: 497d95db742c10ca043f0a3afb210d0236c2fd1c

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

This PR includes changesets to release 1 package | Name | Type | | ---------- | ----- | | @urql/next | 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