Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork4
ReScript bindings for @react-native-async-storage/async-storage
License
rescript-react-native/async-storage
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
ReScript bindings for@react-native-async-storage/async-storage.
Exposed asReactNativeAsyncStorage module.
@rescript-react-native/async-storage X.y.* means it's compatible with@react-native-async-storage/async-storage X.y.*
When@react-native-async-storage/async-storageis properly installed & configured by following their installation instructions,you can install the bindings:
npm install @rescript-react-native/async-storage#oryarn add @rescript-react-native/async-storage
@rescript-react-native/async-storage should be added tobs-dependencies inyourbsconfig.json:
{ //... "bs-dependencies": [ "@rescript/react", "rescript-react-native", // ...+ "@rescript-react-native/async-storage" ], //...}typeasyncStorageState= {getItem:unit=>Js.Promise.t(Js.Null.t(string)),setItem:string=>Js.Promise.t(unit),mergeItem:string=>Js.Promise.t(unit),removeItem:unit=>Js.Promise.t(unit),};letReactNativeAsyncStorage.{getItem,setItem}=ReactNativeAsyncStorage.useAsyncStorage("useAsyncStorage");
string=>Js.Promise.t(Js.Null.t(string))
(string,string)=>Js.Promise.t(unit)
string=>Js.Promise.t(unit)
(string,string)=>Js.Promise.t(unit)
unit=>Js.Promise.t(unit)
unit=>Js.Promise.t(Js.Null.t(array(string)))
array(string)=>Js.Promise.t(array((string,Js.Null.t(string))))
array((string,string))=>Js.Promise.t(unit)
array((string,string))=>Js.Promise.t(unit)
array(string)=>Js.Promise.t(unit)
unit=>unit
string=>asyncStorageState
Check thechangelog for more informations about recentreleases.
Read thecontribution guidelinesbefore contributing.
We want this community to be friendly and respectful to each other. Please readour full code of conductso that you can understand what actions will and will not be tolerated.
About
ReScript bindings for @react-native-async-storage/async-storage
Topics
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.