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.

ABCD
1Trip budgetCostPeoplePer person
2Flights8404210
3Hotel1,2604315
4Rental car3903130
5Museums160280
6Total2,650735
7
8Left of 3000350