1.2.0 - Improved type system
- BREAKING:
error
is no longer typed, it is alwaysunknown
, 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
andnormalizer
are no longer allowed in global params - less verbose type system
- removed all
any
types