@colinkey/use-generic-loader-data
v0.0.2
Published
A stupidly tiny wrapper around useLoaderData from react-router-dom
Downloads
2
Readme
use-generic-loader-data
Wraps useLoaderData
with a type signature using a generic type
This is mostly for my own use. I prefer using a generic over casting all time, even if the underlying implementation is the same. I just got tired of creating it in projects over and over.