Robin Pokorny
May 30, 2022

--

Hey, as long as you do not generate it at every re-render, it should be fine. I would still not recommend it.

If you generate a bunch of those at the same time there is a probability that you get a collision of IDs. NanoID is small, fast, and solves the problem completely, I still think it's the best way to generate IDs.

--

--

Robin Pokorny
Robin Pokorny

Written by Robin Pokorny

Architecture & Tech Leadership — Speaks — Loves maths — Reads specs — Podcasts — Lives in Berlin — robinpokorny.com

No responses yet