-
Notifications
You must be signed in to change notification settings - Fork 40
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
persistence_UNSTABLE not mentioned in Recoil documentation #14
Comments
Here the PR with this documentation. This options will changed to |
I've seen the same (different PR, same information), if I figure out what I'm doing am I ok to submit a PR referencing this issue? |
@rhys-saldanha yes, of course 👍 |
I have a working implementation for |
@rhys-saldanha Thank you very much for your contribution. I have updated examples in README and also added the migration guide to 2.0.0. Looks like we could close this issue. |
I think this is a symptom of the property being unstable, but in the current latest version of Recoil, adding it to my atom definition is throwing a TypeScript error.
I've checked the Recoil documentation and persistence_UNSTABLE isn't mentioned anywhere. For reference, annotating the property with ts-ignore fixes the issue and local persistence works as expected.
Is this a missing type within Recoil, or is this property only needed and used by recoil-persist?
The text was updated successfully, but these errors were encountered: