- π³πΏNew Zealand quietone
The Ideas project is being deprecated. This issue is moved to the Drupal project. Check that the selected component is correct. Also, add the relevant tags, especially any 'needs manager review' tags.
Changing to the standard issue template β would also help other contributors.
Is feature still desired in core?
- πΊπΈUnited States davidwbarratt
I think the problem is correct, but the proposed solution is not. Since I wrote, things like Core Web Vitals make #3 as well as the proposed solution, not viable options since that will make the LCP metric significantly worse. Waiting for all of the JS to load before you get anything on the page, even if there isn't a server request, basically renders the browser's streaming rendering of HTML useless.
I guess this isn't really a core problem and can be solved in contrib. I'm wondering if we could provide a mechanism to compile JS components to executable binaries. That would basically give developers the ability to use JS frameworks at template level without having to sacrifice server-side rendering.
I'll probably write a little PoC to see if this is even possible, but that seems like a better solution than having developers rebuild the entire front-end with Next.js (or whatever).