• 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
..
dist Loading commit data...
src Loading commit data...
tests/utils Loading commit data...
.babelrc Loading commit data...
.eslintrc.js Loading commit data...
.gitignore Loading commit data...
.postcssrc.json Loading commit data...
Dockerfile Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
server.js Loading commit data...
webpack.config.base.js Loading commit data...
webpack.config.build.js Loading commit data...
webpack.config.dev.js Loading commit data...