I've seen a lot of bootstrap or minimal React setups for developers. But they all seem kinda bloated. Even
create-react-app is bloated as soon as you eject.
All I wanted is the minimal setup with:
No server side rendering, configuration frameworks, routers, stores or other libraries.
It'll just get you started. Everything else is up to you.
How to install
git clone --depth=1 --branch=master https://github.com/dan-lee/react-minimal-starter-kit.git YOUR_PROJECT, and then run
You may now remove the following files in the new project directory, to 'eject' from the original repository:
cd YOUR_PROJECT rm -rf .git/ README.md LICENSE .travis.yml
- Static HTML entry is in
- React entry point is
- Built JS output file is
- Builds can be configured in
yarn buildfor a single build
yarn build:prodfor a minified build (minified by
yarn build:watchfor a continuous build while editing files
Subscribe to React.js Examples
Get the latest posts delivered right to your inbox