• Florent Chehab's avatar
    refactor(smart actions parameters) : BREAKING & tweaks · d3681935
    Florent Chehab authored
    * Created `RequestedParams` class with builder to create request parameters object in a standard way,
    * All the generic actions only take an instance of this object now,
    * All dynamic parametrization of the request params now happens in `apiParams`
    * This enables an ultra smart magic piece of logic to auto refresh the data from the server if the props / state of the component has changed since the last request. (the requestParams object are now stored in the redux store and we can compare theme 😄 ). And also not to make duplicate queries.
    * Updated doc accordingly,
    
    Tweaks/fixes:
    * use of `lodash/isEqual` to deep compare objects
    * Removed now useless behiavor
    d3681935
Name
Last commit
Last update
backend Loading commit data...
documentation Loading commit data...
envs Loading commit data...
frontend Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
docker-compose.yml Loading commit data...