Echo JS 0.11.0

<~>
machineghost 2949 days ago. link 0 point
Check out the first code sample.  It cuts the Redux To Do example code in half (from 36 lines to 18), while still being just as readable/maintainable if not more so.

Replies

tracker1 2947 days ago. link 3 points
The first code sample has a lot of unneeded redundancy to begin with.  Also... `this.foo()` is not more readable than `foo()` and you're creating an object context for no value add and complicating testing.
sbruchmann 2907 days ago. link 1 point
@machineghost
> It cuts the Redux To Do example code in half (from 36 lines to 18), while still being just as readable/maintainable if not more so.

Less code does not automatically infer better readability let alone maintainability. This library adds an unnecessary layer of complexity to state management that one has to wrap their head around in order to understand, extend or refactor the codebase.