Introduction
Where we discuss why and what is Redux-optimum
What is Redux-optimum
Optimistic REST API calls are becoming a standard in the world of Single Page Applications but managing them is never easy. Where to place the data in the application, how to reconcile server data and client data, what to do during network failures, or how to manage identifiers (tokens in headers or session cookies)? All these questions need to be answered when dealing with a complex front-end application. Yet, there is no easy, nor a one shoe fits all, kind of solution. Nevertheless, why does it need to be so complex and defined at every call level when we can abstract those decisions in a centralized manner with standardized procedures. This is exactly the aim of this library. Of course, it does not cover all the edge-cases but it tries to abstract all the possible implementations for API management in a series of options. It is based on the existing Redux library and the middleware Redux-saga.
This is what Redux-optimum allows you to do:
A config file is all you need to define all the behaviors for your API management system. One place to rule them all!
Last updated
Was this helpful?