EUI has two utility methods for creating unique identifiers for associating inputs and labels.
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
EUI has two utility methods for creating unique identifiers for associating
inputs andlabels.makeId:./form/htmlIdGeneratoruuidv1We should change all usage to
htmlIdGeneratorand deprecatemakeId