This is incorrect (outdated). In the NextJS conference, they demoed interleaved client and server code.
https://twitter.com/dan_abramov/status/1717648341234778376
The html for the button gets SSR and sent to the client. The button click handler is an RPC that runs the actual sql statement on the server.