You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now useRouteLoaderData returns an unknown type. Understandably, it's probably impossible to provide the correct types directly, but could it support doing the same thing as useLoaderData does - namely accepting typeof someLoader as a generic argument?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Right now
useRouteLoaderData
returns anunknown
type. Understandably, it's probably impossible to provide the correct types directly, but could it support doing the same thing asuseLoaderData
does - namely acceptingtypeof someLoader
as a generic argument?Beta Was this translation helpful? Give feedback.
All reactions