Join Slack
Powered by
Hello, I’m looking for an alternative of UUID.rand...
# compose-web
p
Partho Paul
06/10/2022, 7:03 AM
Hello, I’m looking for an alternative of UUID.randomUUID() to use in my compose-web project. Couldn’t find anything on google. Can someone please help? TIA
h
hfhbd
06/10/2022, 7:06 AM
Modern browsers support
https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID
or use npm
https://www.npmjs.com/package/uuid
,
https://github.com/benasher44/uuid
, or my implementation
https://github.com/hfhbd/kotlinx-uuid
.
p
Partho Paul
06/10/2022, 8:13 AM
@hfhbd
Thanks a lot!
8
Views
Open in Slack
Previous
Next