Skip to content

gerardmarquinarubio/create-bun-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛠️-🥟-⚛️-📱
create-bun-react-app

A minimalistic template for Bun, React and TailwindCSS; with hot reloading and production builds

Get started

bun create gerardmarquinarubio/create-bun-react-app myapp
cd myapp
bun dev

Template screenshot

Features

Feature Description
dependencies react, react-dom, tailwindcss
bundle bun bundle
dev (hot reload) bun dev
serve bun start
dist bundle size 16kb (dist production)
repo size 37kb (src + conf + scripts)

Motivation

Meta-frameworks are overkill for simple client-side-only react apps. Bundlers like webpackare too complicated and cumbersome, others like esbuild or rollup while much easier to use still require you to know the inner workings of bundling, module types, transpilation, loaders, etc. This template aims to solve that by simplifying the process.

This template has 4 dependencies:

  • react and react-dom to develop and render your react app in the client
  • tailwindcss for styling your app using convenient classnames
  • bun to run your code and bundle it to the web

This template won't include:

  • linters/formatters like eslint
  • state managment redux or react-query
  • route managment like react-router
  • ui libraries like daisyui or shadcn

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published