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
I'm going to convert this to a discussion so it can go through our new Open Development process. Please upvote the new Proposal if you'd like to see this considered!
What is the new or updated feature that you are suggesting?
Instead of returning
unknown
by default and then typecasting (as seen in one of the examples), prefer generics:Bad
Good
The same should be applied to
useRouteLoaderData
anduseActionData
.Why should this feature be included?
Generics over typecasting.
The text was updated successfully, but these errors were encountered: