• Kadi Kraman's avatar
    (graphcache) offline storage for React Native (#1949) · 0fe23c53
    Kadi Kraman authored
    * Initial setup for graphcache-rn-async-storage
    
    * Add readme docs for @urql/graphcache-rn-async-storage
    
    * Add a note on @urql/exchange-graphcache/default-storage to the docs site
    
    * Add a changelog and initial release
    
    * Make default keys less shouty
    
    * Export storage options type
    
    * Remove optional chaining
    
    * Add arg to catch block (else build fails with TypeError: Cannot read property 'type' of null)
    
    * Clean up NetInfo if the exchange is reinitialised
    
    * Rename package to @urql/storage-rn
    
    * Add tests for read and write metadata
    
    * Add tests for write data
    
    * Add tests for onOnline
    
    * Save data under a single key
    
    * Simplify and add tests for readData
    
    * Add a clear method to rn storage
    
    * Merge data from all days
    
    * Move async storage calls inline
    
    * Ensure deleted keys are also removed from old cache
    
    * Use forEach instead of spread
    
    * Simplify assignment logic
    Co-authored-by: 's avatarGrant Sander <gksander93@gmail.com>
    0fe23c53
This project is licensed under the MIT License. Learn more