Skip to content

Rusta/gatsby-starter-barebones-preact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published