Skip to content

Conversation

@jimniels
Copy link
Collaborator

Generate a UUID via the browser's built-in crypto.randomUUID

This results in less JS code to ship to the client.

Resolves #421

"resolved": "file:quadratic-core/pkg",
"license": "MIT"
"resolved": "quadratic-core/pkg",
"link": true
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why these are changing? Is this problematic?

@aws-amplify-us-west-2
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-441.de5w5iglj13on.amplifyapp.com

@jimniels
Copy link
Collaborator Author

Turns out, the uuid is using the browser's native version of this where applicable uuidjs/uuid#600

So this probably isn't necessary. Closing.

@jimniels jimniels closed this Apr 25, 2023
@jimniels jimniels deleted the jim-421 branch April 25, 2023 15:21
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.

refactor: swap out uuid library with crypto.randomUUID

2 participants