Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 696 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 696 Bytes

gatsby-starter-barebones-preact

Stripped back, barebones gatsby-starter which implements two example pages: one in markdown, one in JS

And uses Preact rather than React in the build output bundle.js file

Install this starter (assuming Gatsby is installed) by running from your CLI:

gatsby new my-project-name https://github.com/Rusta/gatsby-starter-barebones-preact

Why use Preact?

This repo is a clone of this barebones starter at https://github.com/Rusta/gatsby-starter-barebones modified to use Preact in the build output rather than React to reduce the bundle file size:

File Size on Disk (before GZipping)

  • Bundle size with React: 251KB
  • Bundle size with Preact: 131KB