reactjs - react-native: How to use asyncstorage with rocksdb? -


i want embed data react-native app. think have use asyncstorage. can use rocksdb storage asyncstorage. documentation not give example of this. wondering how use rocksdb.

also, react-native docs mentions asyncstorage data being global. mean asyncstorage data accessible apps?

asyncstorage core react-native api allows store key value pairs. it's global in accessible within anywhere in app not apps because of ios sandboxing. works on own, is, independently of other database systems.

rocksdb native key-value store has native implementation. if want use in react-native project, or else have write api (bridge) can used through js. , have nothing asyncstorage.

edit: apparently asyncstorage tries use rocksdb on native side if exists. otherwise, seems save data in text file. https://github.com/facebook/react-native/blob/master/react/modules/rctasynclocalstorage.m


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -