News for hackers. Stuff that matters.
Re:Next.js 12 by robertrbairdii on Tuesday October 26, 2021 @02:22PM (#29004179)
From my understanding from watching the keynote earlier today, the reason that demo has JS is that repo opted in to have client side code to handle the upvote functionality. If it didn't require that interactivity it could be shipped with no client side JS. The client side js code is defined in the component files ending in .client.js

https://github.com/vercel/next-rsc-demo/tree/main/components

There are no comments on this comment yet.