-
Notifications
You must be signed in to change notification settings - Fork 94
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
Add docs for the new API of useSessionStorageValue and useLocalStorageValue #970
Add docs for the new API of useSessionStorageValue and useLocalStorageValue #970
Conversation
…e in documentation comment
Also i've been hoping you'll updatye my PR 🙃 |
Oh, I see. Well, I can push this to your PR-branch as well. |
All do it myself now, also tehre are some issues with description, that ill fix |
Oor you can do it, just realized that you've made it from fork. (as you are a member of a team you're now allowed to work straight on this repo) |
It appears I am unable to push the commits to your PR-branch, even though I am working directly in this repo. I am getting a 403 from GitHub.
|
maybe it is somehow related to fact that im using ssh instead http.. dunno |
In fact, it seems that I'm not even able to push new branches to this repo. Maybe I don't have the required rights this organization? |
You right, there was an issue with permissions for team members. Now it should be ok |
What is the problem?
The API of
useStorageValue
has changed. The changes need to be reflected in the documentation ofuseSessionStorageValue
anduseLocalStorageValue
.What changes does this PR make to fix the problem?
Modify the relevant pieces of the docs. Please make sure that I did not miss anything.
Also, do the current examples seem a bit weird to you? They don't really persist the values the user types into the inputs and you cannot see anything come up in storages. But I guess that is because the example is in an iframe (but don't the iframe and the docs page come from the same domain? Then the iframe should be able to access the parent's storages).
Relates to #960