SolidJS in 59 Seconds

Rendering Example

SolidJS docs ↗

Each table is identical. Edit a Quantity cell or run the example.

SolidJS

Updates only dependent values

ProductSKUCategoryQuantityUnit priceTotal
Moon RoverSET-0001Space$5,998.80
Dragon KeepSET-0002Fantasy$3,199.60
Rainbow RacerSET-0003Vehicles$2,249.25
Pirate RobotSET-0004Adventure$1,790.88
Ocean TreehouseSET-0005Ocean$15,000.00
Dinosaur MuseumSET-0006Dinosaurs$10,823.18
Rainbow ArcadeSET-0007Creative$3,774.42
Volcano CastleSET-0008Adventure$2,954.92
Arctic SubmarineSET-0009Exploration$3,842.68
Neon TrainSET-0010City$1,858.50
Galaxy CastleSET-0011Space$13,758.38
Dragon SubmarineSET-0012Fantasy$10,396.32
Jungle TrainSET-0013Adventure$4,162.32
Pirate RoverSET-0014Adventure$1,279.98
Ocean ShipSET-0015Ocean$2,982.50
Dinosaur Race CarSET-0016Dinosaurs$1,813.08
Rainbow RobotSET-0017Creative$12,403.72
Volcano TreehouseSET-0018Adventure$9,856.42
Arctic MuseumSET-0019Exploration$4,437.18
Neon ArcadeSET-0020City$23,876.00
Inventory value · 20 rows$136,458.13

React

Every row runs again

React.memo

Unchanged rows are skipped

Which components re-render?

SolidJS—
React—
React.memo—

How many totals are recalculated?

SolidJS—
React—
React.memo—

How many text values change on screen?

SolidJS—
React—
React.memo—