-
-
Notifications
You must be signed in to change notification settings - Fork 4
updating useAsyncStorage syntax #4
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR! Could the example be more straight forward without styles for example? To avoid unecessary noise so the developer can focus on the actual interesting code, thanks!
@MoOx #4 (review) done |
I removed example as they were way to complex to quickly illustrate how to use the hook. If you want to another PR, but without UI & faker & unecessary stuff for the developer to understand the core of the usage. |
I rolled back the change and added record syntax as |
Lets user do:
ReactNativeAsyncStorage.asyncStorageState
Instead of
See updated README.md