react-native-store icon indicating copy to clipboard operation
react-native-store copied to clipboard

Looping through response after .get

Open bfine9618 opened this issue 8 years ago • 1 comments

What is the best way to loop through stored data to display a list with each object? These will be anonymized JSON objects stored in the DB.

I have tried .map, but the response returns an array of length 1 instead of each individual element. Any suggestions?

bfine9618 avatar Dec 03 '16 22:12 bfine9618

I needed to add each JSON individually.

Would an addAll method be available in the future?

bfine9618 avatar Dec 03 '16 22:12 bfine9618