10 Redux tips to scale your dev team
Bat Manson
3319

Good article, thanks. Agree with all of it, even though I haven’t used ducks or saga. Probably would have if we started from scratch today though…

One comment: Regarding selectors, it is perhaps worth mentioning that any component using your example selectors would re-render on every single dispatch, even if no mapped props have actually changed, since .map creates a new array every time. So if you don’t use reselect here, you will probably slow down the app after a while. You mention using reselect could speed it up a bit, but should perhaps make it even clearer that if you don’t use reselect here you will actually bypass the shouldComponentUpdate logic inside “connect” and basically make the connected component “unpure”.

Anyway, thanks for sharing!

Show your support

Clapping shows how much you appreciated Einar Paul Qvale’s story.