Reputation: 43
I am building a react native app that stores data on your day, like a diary.
Here, each day, you would store data on:
I assumed I would store this in some sort of class somewhere, however looking into React and experimenting with AsyncStorage it seems you can only store data one at a time and it must be a string.
My question is what would be the best method to store data as a collection like this? Should I stringify it? Or is there another method to store data like this not using AsyncStorage?
Thanks a lot
Upvotes: 0
Views: 431
Reputation: 768
There many method can can used on react native to saving / persisting data, if you only store small data, using AsyncStorage is fit for your case. But if you need storing structured data and large amount, i recommend using:
Upvotes: 2