Skip to content

developit/hn_minimal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.3%
  • CSS 15.5%
  • HTML 5.2%