re: 12 Things NOT To Do When Building React Apps With Redux VIEW POST


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.


code of conduct - report abuse