useUniqueId is a react hook that generates unique ids with a human readable prefix. You can assign unique ids using a react component's name as the prefix allowing you to see the component's name in a browser's developer tools without opening react dev tools.
npm install use-unique-id
OR
yarn add use-unique-id
useUniqueId('DropDownInput')
using a random unique id generator
using useUniqueId
use-unique-id uses uuid/v4 under the hood generating reliable universally unique identifiers (UUIDs).
🚀 Made with create-react-hook.
MIT © HomeX Labs