Closed sustained closed 6 years ago
The example is clearly intended to be simple. It's not meant to be a production-ready system all on its own. If JavaScript had a secure UUID generator built into the language, I imagine they would use it in the example code. But since that's not the case, they're just leaving a comment to remind people that UUIDs are generally preferred to sequential IDs, rather than importing some 3rd party library to do it, with all of the additional complexity that brings. I think it's pretty reasonable. Maybe it would be nice to have a more full-fledged example, though.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
From your README -