Cory House
1 min readMar 30, 2016

--

Thanks for the link! And yes, you’re right the constructor in the example is pointless but I included it since it’s necessary to perform any logic in the constructor like handling state. That said, as the article discusses, the big win isn’t about number of lines of code anyway. :)

--

--

Cory House

Pluralsight Author, Principal at reactjsconsulting.com, Software Architect, Microsoft MVP, Speaker, Clean Coder, Aspiring Outlier.