Skip to content

1.2.0 - Improved type system

Compare
Choose a tag to compare
@hazae41 hazae41 released this 06 Jan 13:41
· 662 commits to master since this release
  • BREAKING: error is no longer typed, it is always unknown, just like in a try-catch block
    Migration:
// previously
useSingleSchema<Data, Error, Key>(key, fetcher, params)

// now
useSingleSchema<Data, Key>(key, fetcher, params)
  • BREAKING: serializer and normalizer are no longer allowed in global params
  • less verbose type system
  • removed all any types