Replies: 1 comment 1 reply
-
Hey @semet, thanks for the suggestion! Will you move this comment to #14417 where the original proposal was made. This helps us keep the conversation consolidated 🙂 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Im so excited about the new
unstable_useRoute
feature inv 7.9.4
.as far as I know, it is a hook that behaves like
useRouteLoaderData
, but instead of only returningloaderData
only, it also returnsactionData
. May I suggest that the name should beuseRouteData
.Since it is all about data for the give Route Module. I think
useRouteData
is a better name for that specific purpose.The current name also a little bit confusing when we compare it with existing
useRoutes
that has a very different purpose.Beta Was this translation helpful? Give feedback.
All reactions