hajonsoft / hajonsoft-tiger

🐯 Home for Dove and Humming Bird collectively named Nest
2 stars 0 forks source link

redux-cache #28

Closed hajonsoft closed 3 years ago

hajonsoft commented 3 years ago

As a USER to HAJonSoft I want to get the data from the store locally if it is there instead of calling the backend.

Considerations 🎨

If you can just apply a middle ware that would be fantastic
https://www.google.com/search?q=%40manaflair%2Fredux-batch&rlz=1C1GCEB_enUS919US919&oq=%40manaflair%2Fredux-batch&aqs=chrome..69i57j69i58.1490j0j7&sourceid=chrome&ie=UTF-8

Middleware video
https://youtu.be/AgO7YcJeBh4

Persist state to local storage 

https://youtu.be/o_Ni4Cqh4XA

Acceptance Criteria 🎯

- **Performance:** consideration
- **Security:** consideration
- **Logging:** consideration
- **Deployment:** consideration
- **Marketing and customer education:** consideration
- **Long term vision:** consideration
- **Upwork outsourcing opportunity:** consideration
- **Community outsourcing opportunity:** consideration

🎗️ This should be helpful mainly to customers

After completing this issue, schedule following features in a low priority stories

https://www.tonnguyen.com/2018/02/13/web-programming/implement-a-cache-middleware-for-redux/

https://stackblitz.com/edit/redux-cache-middleware

Consider persisting the store for packages and customer info with ability to clear cache manually upon login.

Persist library is interesting

https://youtu.be/Fb-bDigImpw

hajonsoft commented 3 years ago

If we have to use redux cache we use redux toolkit instead