vasern / vasern

Vasern is a fast, lightweight and open source data storage for React Native

Home Page:https://vasern.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does the database initialize everytime I reload the app?

caihc001 opened this issue · comments

What I want to do is to store a lot of messages in the database. I used to do the cache in redux but seems like the huge amount of data cause the slowness.

I build the database based on your example, but seems like when I close the app or reload the app on simulator, the data is gone. I am not sure I am doing it right with the configuration. Do you have any suggestion?

never mind.. I find the load function in constructor. But the data is just not the same as what i get before the reload.