What Is React: A Visual Introduction for Beginners
Have you tried developing a doctors appointment website with React (or any SPA frameworks) say Django or Flask? It&#x27;s a pain in the ass. Usually, you throwaway all the cool things about Django and turn it into a stupid JSON API and then you build a bunch of cruddy shit with npm tooling and cry yourself to javascript dependency hell. Then you need another server to serve up this bundle.js and a barebones index.html file. Great if you&#x27;re building a Google Docs competitor. 99.999% of the people aren&#x27;t.<p>I think VueJS is excellent and surprising to see React&#x27;s popularity. Vue can be used just like jQuery without any nodejs tooling. Just like every discussion about this topic, React fanboys will respond with &quot;But, technically, you can do that with React too&quot; [1], yeah... It sucks at doing that. Without JSX, you can&#x27;t interweave for example Jinja2 templates + React. Nor can you interweave JSX + Jinja2. With VueJS? It&#x27;s just HTML with a few v- attributes. Even if React worked well with direct script tags in HTML, it still sucks at it because it&#x27;s mainly designed for SPAs in mind. There is a lot of existing discussion on this topic [1].<p>I absolutely abhor the tooling&#x2F;npm&#x2F;babel&#x2F;nodejs&#x2F;webpack all this nonsense that Javascript frameworks need. They should be sort of like jQuery - no prebuilding steps - just drop and play. A doctors appointment website doesn&#x27;t need to be an SPA. VueJS is the only framework that allows you to progressively enhance something like a Flask based website in the most natural jQuery-like way.<p>Oh btw, Svelte is yet another one - of course its SPA framework (Good luck trying to make it work on an MPA website). I am completely underwhelmed by Svelte, and ofcourse the JS peeps are flocking to it. :|<p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24520116" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24520116</a>