-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stable Exome ID? #24
Comments
Hey, glad you like it! The problem is that minifiers rename class identifiers.
The 1st one should do the trick tho, that is what I usually use. Thanks for pointing out typo, fixed it 👍 |
Hey :) I actually use |
Interesting, do you mind sharing some minimal reproduction of it in some repo, codesandbox, stackblitz etc? Very interested in figuring out what's wrong here. |
Sorry, no time for this repro yet :) But I haven't forgotten |
Hi. I'm trying to save a store state into localStorage, and trying to get a unique key.
I'm noticing that getId is most likely getting the
.name
from the class/constructor ?dev:

production:

this makes the key differ after each build, because for the same store i've had
exome-i-store
exome-s-store
exome-b-store
etc...
am I assuming correctly? would i just need to skip get/setID() and use my own set of strings in some map? :)
thanks ❤️ (my favorite store lib)
PS: Typo :)
The text was updated successfully, but these errors were encountered: