#Remix v1.6.5 loader types -- SerializeObject conflicts with prop type of component

1 messages · Page 1 of 1 (latest)

normal blaze
#

Remix v1.6.5 loader types -- SerializeObject conflicts with prop type of component

#

I'm getting conflicts with the return type of my loader.
Before v 1.65+ AKA when SerializeObject was introduced, I recall I didn't face this issue when I passed down type to the useLoader generic like this:

useLoaderData<API_TYPE>

EDIT: resolved, I did end up switching some types around to get this to work

charred sonnet
#

Isn’t it SerializeFrom we should be using?

sonic vessel