Giter Club home page Giter Club logo

create-bun-react-app's Introduction

๐Ÿ› ๏ธ-๐ŸฅŸ-โš›๏ธ-๐Ÿ“ฑ
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

create-bun-react-app's People

Contributors

gerardmarquinarubio avatar

Stargazers

 avatar Ming avatar  avatar

Watchers

 avatar

Forkers

squwid

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.