Spreadsheet
A tiny spreadsheet where the same code runs on the server and in your browser.
The server calculates the sheet and renders it with JSX components. In your browser, the same formulas and components take over: while you type, only the cells whose values change are re-rendered with jsx-async-runtime. Without JavaScript, press Enter and the server calculates the sheet instead.
Change a cost, or try a formula like =SUM(B2:B5) or =(B2+B3)/2.