Great article, I agree on every point!
Could you explain more in using accessor functions and what by your opinion is the upside of using them. Is it only in terms of the code structure and avoiding mapStateToProps or is there another benefit that you encountered.
I believe that first example of the arrow function is the accessor function vs the two following examples of using connect, or maybe I got it wrong? It would be great if you could expand on the example and part with accessor functions to make it clear.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.