This package is a replacement for superjson to use in your Remix app. It handles a subset of types that `superjson` supports, but is faster and smaller.
MIT License
435
stars
19
forks
source link
Export deserialize function to consume loader data without `useLoaderData`. #39
I have some resource routes that I fetch using TanStack Query. Therefore, I need to deserialize the JSON manually. Is it possible to export the deserialize function?
I have some resource routes that I fetch using TanStack Query. Therefore, I need to deserialize the JSON manually. Is it possible to export the deserialize function?