americanexpress / fetchye

✨ If you know how to use Fetch, you know how to use Fetchye [fetch-yae]. Simple React Hooks, Centralized Cache, Infinitely Extensible.
Apache License 2.0
41 stars 21 forks source link

Part 1: Add SimpleCache and ImmutableCache #8

Closed mtomcal closed 4 years ago

mtomcal commented 4 years ago

Added new Cache abstraction where the reducer, getCacheByKey, and optional cacheSelector fields are set. Opens door for easy custom cache writing. Storage is managed by Redux or useReducer inside the Provider layer. Cache is more a function that returns a configuration

mtomcal commented 4 years ago

:tada: This PR is included in version 1.0.0-beta.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: