News for hackers. Stuff that matters.
Re:Redux – Not Dead Yet by winton on Wednesday April 25, 2018 @11:22AM (#16922331)
After using Redux for a while, I realized that I was creating a lot of boilerplate to essentially (1) update an immutable store and (2) pass that store's state to (a)sync callbacks that execute in serial before and after the store was updated.

This lead me to the creation of DotStore (https://github.com/invrs/dot-store#readme), along with extensions to use it with React [1] and the filesystem [2].

"Dot prop" strings have proved to be an elegant solution to detect which props changed on the store. Usually this means doing a regex match in `shouldComponentUpdate`. We almost never use React's state anymore.

[1]: https://github.com/invrs/dot-store/tree/master/packages/dot-...

[2]: https://github.com/invrs/dot-store/tree/master/packages/dot-...

Re:Redux – Not Dead Yet by senoroink on Wednesday April 25, 2018 @11:42AM (#16922578)
None of your links seem to work. Is this a private repository?
Re:Redux – Not Dead Yet by winton on Wednesday April 25, 2018 @11:50AM (#16922695)
Heh, very new project, thanks for the heads up. Its public now.