kiliman/remix-typedjson

Adding support for `key` in `useTypedFetcher`

Closed this issue · 4 comments

Remix recently added the ability to provide a key to fetchers:
https://remix.run/docs/en/main/hooks/use-fetcher#key

It would be wonderful if useTypedFetcher would expose the same argument.

This library is great, so thank you for all your work on this!

Published in v0.4.0

Fantastic! Thank you.

Let me know if you have any issues. I needed to make sure it works for both Remix v1 (which doesn't support key) and Remix v2.2+ (which added it).

It works perfectly! Thanks a lot for the super quick response.