Closed
Description
EUI has two utility methods for creating unique identifiers for associating input
s and label
s.
makeId
:
- Zero-dependency
- No affixing/customization
- Exported from and used exclusively in
./form/
- No documentation
htmlIdGenerator
- Uses
uuid
v1 - Allows for prefixing and suffixing
- Exported as part of the public API
- Documentation in the works
We should change all usage to htmlIdGenerator
and deprecate makeId