TLDR; You can simply use: useQuery<SerializeFrom<typeof loader>>
How to use Tanstack Query's useQuery with strong Typescript typing in Remix
· 3 min read
TLDR; You can simply use: useQuery<SerializeFrom<typeof loader>>
Get notified when I have something valuable to share. Like a new blog post, or a new product I'm launching.