Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collision issue #38

Open
tnrich opened this issue Feb 19, 2021 · 1 comment
Open

Collision issue #38

tnrich opened this issue Feb 19, 2021 · 1 comment

Comments

@tnrich
Copy link

tnrich commented Feb 19, 2021

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 tnrich changed the title WARNING: DO NOT USE THIS PACKAGE ON THE FRONT END WARNING: DO NOT USE THIS PACKAGE ON THE FRONT END (or at all really...) Feb 19, 2021
@adamhalasz
Copy link
Owner

@tnrich can you give some examples of what kind of collisions have occured? Do you have reproductions steps?

@adamhalasz adamhalasz changed the title WARNING: DO NOT USE THIS PACKAGE ON THE FRONT END (or at all really...) Collision issue Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants