Skip to content

Stable Exome ID? #24

@kristian-nst

Description

@kristian-nst

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:
Image

production:
Image

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 :)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions