You are rediscovering the Jamstack (
https://jamstack.org/) which is a developer-efficient way of getting stuff out there and done. The only disadvantages are “broken without JS” and possibly load times (hence you hear about “prerendering” to address that.