Open tnrich opened 3 years ago
This package is NOT safe for use on the front end. The method being used to generate a unique id is VERY prone to collisions. This caused all kinds of weird flake in our system that took a significant amount of time to track down.
I would recommend using https://github.com/ai/nanoid/ instead (both for the front-end and the back-end)
@tnrich can you give some examples of what kind of collisions have occured? Do you have reproductions steps?
This package is NOT safe for use on the front end. The method being used to generate a unique id is VERY prone to collisions. This caused all kinds of weird flake in our system that took a significant amount of time to track down.
I would recommend using https://github.com/ai/nanoid/ instead (both for the front-end and the back-end)