You Might Not Need Redux
Dan Abramov
3K66

I’m all for Redux and its unidirectional data-flow but the main issue I have is often with Immutable.js and its very verbose API.

They make the state-management sometimes a major drag and I wish Dan could lend his innovative powers to revamp the Immutable to become more concise and easier to reason about.

I mean wouldn’t it be easy if you could just merge your new array of models into the existing ones nested inside your object in a one single merge? When it now includes going around in circles with updateIn, mergeIn, setIn without even mentioning their basic counterparts update, merge and set. Scour.js had a much more intuitive API but sadly lacks the full compatibility with Redux and redux-localstorage.

Show your support

Clapping shows how much you appreciated Teemu .K’s story.