What to expect from your framework
&gt; So half of this blog post has actually been sitting on my drive for a couple of months because I’ve had a good long sad about the distressingly low bar we’ve set for something to bill itself as a Framework. I suppose this is partly because we’ve never really agreed about what constitutes one, and spoiler alert I don’t have a proper working definition either. But let’s get this out of the way first: React is not a framework.<p>I never got why people care about the difference between a library and framework and try to categorize these offerings, especially when we don&#x27;t even have meaningful definitions. The way I&#x27;ve seen it, you&#x27;re usually going to have one front end &quot;base thing&quot; and build everything around it - be it Vue, or React, or Angular, or Svelte, or jQuery, or Next.js, or Nuxt, or JSF, or Vaadin, or Laravel&#x27;s Blade templates, or the Rails equivalent etc.<p>In some cases, it will try to provide everything out of the box, in other cases you&#x27;re going to integrate a bunch of other stuff to do what you want, but you&#x27;re rarely (at least in my experience) going to have something like React combined with Vue, or Vue with Svelte in the same site, which is sometimes touted as one of the advantages of libraries. I think I can recall one micro frontend project in my past like that. Furthermore, I&#x27;ve seen very few cases where integrated libraries are ever swapped out for something else once there&#x27;s lots of code written against them, so they get coupled with the rest of the codebase regardless (unless you&#x27;re really good at establishing boundaries&#x2F;abstractions), so that&#x27;s another supposed advantage that doesn&#x27;t always pan out. And even when you use most of the frameworks out there, you still need to think about UI components and such, of which there are many libraries to integrate with your framework, so you still need additional bits introduced.<p>It&#x27;s almost like saying &quot;Next.js acts 75% like a framework, whereas React only provides 25% of what you&#x27;d need for a full batteries included experience and therefore will mostly be treated as a library on its own.&quot; Silly way of framing it, I&#x27;ll admit, but the end result will most likely be the same - one big repo of front end code (possibly a sub-folder), regardless of how many packages it&#x27;s made up of. Just pick a group of solutions that fit your architecture of choice: Laravel, Rails and Django front end offerings are all good for SSR, whereas for SPAs just pick things depending on how much of an integrated experience you want, anything from Nuxt to barebones Vue, with libraries imported based on needs.<p>Personally, I like the benefits of SSR (how integrated development can feel, easy to reason about), but I dislike the coupling and how you eventually will need to upgrade &quot;the entire thing&quot;, which might be a big rewrite (e.g. moving from Spring to Spring Boot, or upgrading Rails&#x2F;Laravel projects across major versions). I like the ability to throw away and replace SPAs if the need presents itself (AngularJS, anyone?) and the clear decoupling thanks to the API (running the old and new thing side by side is nice for dev). Oh, also SPAs lend themselves nicely for build parallelization, but have the downside of two deployment units (e.g. separate front end and back end containers&#x2F;packages). Solutions that give you most of what you&#x27;ll need are great, but only for as long as you don&#x27;t have to fight against them due to needing to do something different.