Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 481 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 481 Bytes

A minimal Hacker News client written in Preact, based on Dan Bartlett's original client written in React.js.

This is a demonstration of how to optimize a React project by switching to Preact.

The original React+jQuery app was 295kb. Refactored to Preact + fetch(), it is now 5kb (~60x smaller, or around 1.5% of the original size).

hn_minimal