Showcasing 3 ways to use click events on SSR buttons with Nextjs Version 1: Using next.js Script to change value of button on the client side Version 2 using htmx to return a new button Version 3 using react server actions to update server state