jotaijs / jotai-trpc

MIT License
126 stars 7 forks source link

v0.6.0 atomWithQuery TypeScript Types Incorrect for Refresh #20

Closed mutewinter closed 6 months ago

mutewinter commented 7 months ago

The atom returned by .procedure.atomWithQuery() is not settable, and therefore shows a type error when trying to use with useAtom or useSetAtom. The refresh functionality still works, however.