Rename helpers to not collide with Remix #81
Closed
WesleyKapow
started this conversation in
Ideas
Replies: 3 comments 1 reply
-
Just hit this again! I accidentally got the wrong For now, my team has opted to remove |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is actually intentional, so you can replace all useLoaderData/useActionData/json from Remix with the Remix Utils version and keep it the same way. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Closing it since those utils has not been part of the package for a while. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
IDEs can auto add import lines for you. This means if you use
useLoaderData
it can auto import from remix or from remix-utils. This creates unexpected behavior as developers will often assume they are importing the hook from remix.Proposal: Rename hooks in remix-utils to not collide with those provided by remix!
Beta Was this translation helpful? Give feedback.
All reactions