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
Using existing store with custom name ? #847
Comments
Hey, createInstance tries to open an existing store (depending on the driver in use) with the provided name and only when that's not available it creates a new one, in the exact same way that |
@thgreasi Seems that safari will create mutiple instance rather than find exist instance |
@thgreasi The documentation is horrible! Nowhere is it covered how the check for existing storage occurs except here, found by sifting through the issue list.. Understanding these things is key to deciding on a solution, not very inspiring or respectful of others time. Please just add "createInstance tries to open an existing store (depending on the driver in use) with the provided name and only when that's not available it creates a new one" to the documentation It would probably take the same amount of time as answering a users question. |
I am creating datastores with createInstance. But if a user hard refreshes a page in the browser, is there a way to use that instance? It's named say "fooInstance", but how do I hookup a var to an existing instance? I see createInstance, but that seems to just blow away the datastore and start fresh. Is there a way to "useInstance" if you know it exists?
The text was updated successfully, but these errors were encountered: