Comment

Comment by jerrysievert

uuid's aren't guaranteed to be unique at generation, there is still a non-zero chance of it having a collision. using it as a primary key to be generated by the database helps mitigate that, as there will normally be a uniqueness clause on the index.

creating that uuid on the client likely will not accomplish what you're hoping.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton