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

Replace shortid to nanoid #9

Merged
merged 1 commit into from
Nov 5, 2017
Merged

Replace shortid to nanoid #9

merged 1 commit into from
Nov 5, 2017

Conversation

ai
Copy link
Contributor

@ai ai commented Oct 31, 2017

What do you think of replacing shortid to nanoid (without big changes for users). Benefits:

  1. shortid is not maintained anymore (and issue tracker has many important issues). I tried to took maintenance, but found that I can’t fix shortid with keeping API.
  2. shortid has problem with random generator (issue) and ID uniformity (issue). nanoid use hardware random generator and has special uniformity tests (docs).
  3. nanoid is just 179 bytes. shortid is 2 times bigger (about 0.5 KB).
  4. nanoid is 10x times faster than shortid.

@zalmoxisus what do you think?

@jhen0409 jhen0409 merged commit 5f8b32d into zalmoxisus:master Nov 5, 2017
@ai
Copy link
Contributor Author

ai commented Nov 20, 2017

@jhen0409 thanks, it was fast :). Should we release it in new patch version? :)

@zalmoxisus
Copy link
Owner

zalmoxisus commented Dec 23, 2018

@ai sorry about missing this and the long delay! I have just published 0.1.5. Thanks for contribution!

We're moving this repository into redux-devtools monorepo and it will be renamed to redux-devtools-core. It will be easier to maintain and hopefully PRs will be shipped faster :)

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

Successfully merging this pull request may close these issues.

3 participants