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.61k stars 449 forks source link

fix(graphcache): Fix untranspiled class field initializer syntax in bundle #3275

Closed kitten closed 1 year ago

kitten commented 1 year ago

Resolves #3274

Summary

Fixes untranspiled class property initializer syntax being leftover in build output due to syntax used in the Store.

This is a regression in #3053, and further regressions will be prevented by adding an ESLint rule.

Set of changes