Closed vitokhangnguyen closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/andrewnt219/rent-near-me/7m4gxgh7hoNdC77acRzpjG6YfL7m
✅ Preview: https://rent-near-me-git-vitokhangnguyen-issue97-andrewnt219.vercel.app
making the id looks more randomized
really?
making the id looks more randomized
really?
actaully, I'm gonna revert back to @radix-ui/react-id
before merge. The package is like 45 time lighter in size. Or should we just leave it to tree-shaking?
Edit: Nah, base on the export analysis here, it's still heavier after tree-shaking.
Resolve #97
Changelog:
useId()
hooks in form input elements to generate a deterministic id for the element (if one is not provided).useId()
in@radix/react-id
with the one fromreact-aria
(making the id looks more randomized).