Waku: The Minimalist React Framework with Server Components
The enthusiasm for RSCs mystifies me.<p>Yes, SSR is a thing that is useful for building websites.<p>It is not useful, at all for building apps. Apps (as in, mobile apps) cannot be rendered on the sever. You need an api.<p>Unless you plan not to have an app, why would you choose to build your website in a way that is inconsistent with your design patterns, api design, etc. for you app.<p><i>Fundamentally</i>, there is a parity between a javascript client to an api and a mobile client to an api.<p>The api can be implemented in anything.<p>You consume the api in an application. The application runs on the client device.<p>SSR is an optimisation for the web side of this, that forces you to use a node&#x2F;js implementation for at least part of your backend, and mixes (eg. In blazor) where the application logic lives.<p>There’s no question the next.js RSC will do exactly the same thing; a blending of logic that means you don’t need an api, you just have a site.<p>…but you <i>do</i> need an api. Because unless you’re crazy, you need an app.<p>I don’t care about ideals and what ifs; that’s the blunt reality for most companies.<p>It’s weird. I bet that this is going to be a fad, and before you know it, people will use it because it’s “recommended” and then it’ll be a lot of complaints once they realise it’s actually quite problematic.