<story><title>Things every React.js beginner should know</title><url>https://camjackson.net/post/9-things-every-reactjs-beginner-should-know</url></story><parent_chain></parent_chain><comment><author>marknutter</author><text>So here we see the culmination of the great Frameworks vs. Libraries divide. Frameworks alleviate the need for the type of articles like the one linked here because they eliminate choice paralysis and imposter syndrome. Everyone is worried about whether or not they&amp;#x27;re doing things The Right Way™ and so they either blaze ahead and hit the same pitfalls everyone else does (and then write blog posts to warn others) or they hold off on adopting the tech until they are shown The Right Way™ by someone else.&lt;p&gt;The truth is, libraries and frameworks both end up being equally complex to work with, precisely because the &lt;i&gt;problem of building large applications is inherently difficult&lt;/i&gt;.&lt;p&gt;It all comes down to personal preference:&lt;p&gt;Are you the type of person who is more likely to believe you can do something better than everyone else, or are you the type who is more likely to defer to those you believe to be better than you?&lt;p&gt;Are you decisive or do you agonize over the smallest choices?&lt;p&gt;Do you feel a compelling need to understand how everything works, or are you willing to implicitly trust other people&amp;#x27;s systems?&lt;p&gt;I find it amusing that people who gravitate toward smaller libraries like Backbone.js and React.js rail against frameworks like Ember or Angular for being overly complex, heavy, and &amp;quot;magical&amp;quot;, and then proceed to cobble together a Rube-Goldberg-esque system of disparate dependencies to achieve the same goals. When React first started getting popular all you read about was how simple the API was and how it was Easy to Reason About™. Fast forward to today and you need to have working knowledge of WebPack, ES6, Redux, immutable.js, Babel, and a bevy of other dependencies to be aligned with the React ecosystem&amp;#x27;s ever-evolving best practices.&lt;p&gt;The exact same thing happened with Backbone.js and it will probably happen again with the next shiny new view-model library to ride the hype train.&lt;p&gt;It&amp;#x27;s important that I point out, however, that none of this is necessarily a bad thing. Smaller libraries like React.js and Backbone.js encourage a cavalcade of innovation from which awesome things like Redux are born. But let&amp;#x27;s not pretend that this doesn&amp;#x27;t result in a heckuva lot of churn for the average developer whose job is to simply get shit done.</text></comment>
<story><title>Things every React.js beginner should know</title><url>https://camjackson.net/post/9-things-every-reactjs-beginner-should-know</url></story><parent_chain></parent_chain><comment><author>pkrumins</author><text>I&amp;#x27;m not a React or Angular expert, but do you really put HTML inside of your JS code? It just bothers me too much. We spent years in early web days learning that code and templates should be separate, yet here we are putting HTML inside of code, which goes against years of practice. Can anyone share their professional thoughts about this?</text></comment>