Skip to content
This repository was archived by the owner on Feb 21, 2023. It is now read-only.
This repository was archived by the owner on Feb 21, 2023. It is now read-only.

Store doesn't returned saving data efficiently (weird) #50

Description

@waleedarshad

300 and 40 stars and not a single tutorial or Example
I am impressed with the popularity of react-native-store but unable to implement. Let me write a secnario

var storage = {
'following': Store.model('following'),
'token': Store.model('token')
}

storage.following.add({following: responseData})
storage.token.add({token: responseData.token})

storage.following.find().then(resp => console.log(resp));
storage.token.find().then(token => console.log(token));

whenever i try to fetch i am unable to get the required results. sometimes it returned null and sometime it returned only one from the two.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions