Should we use nanoid everywhere we need random ids? #4209
Labels
📦 components
Related to the @swisspost/design-system-components package
🍀 decision
Marks conversations where a decision has been made
Milestone
Nano id is a tiny library (100 Bytes) https://github.com/ai/nanoid and we'd be able to generate all of these ids in a more readable format than UUID which is safe but quite large. Nanoid is, depending on the length of the string, equally safe from collisions: https://zelark.github.io/nano-id-cc/.
Tasks
The text was updated successfully, but these errors were encountered: