I'm integrating firebase to my react app and need to generate a unique id for the app with purposes to identify user by this id in the future. After reading firebase docs found that there exist instanceId methods to generate a unique token for iOS and Android.
Question is, are there exist similar methods for generating instanseId for web apps? If no, what methods/packages are you using for these purposes?
I have experience with this npm package device-uuid, but maybe you know another best way to do so.