Skip to content

This is a react starter setup that is fast and easy. Could also be used for prod

Notifications You must be signed in to change notification settings

timothygachengo/mini-reactjs-setup-create-react-app-alternative

Repository files navigation

Mini-reactjs-setup-create-react-app-alternative

  • This is a minified version of create-react-app
  • It has the following advanatages:
    • Faster startup time.
    • Only has only what you need to satrt your react development.
    • Contains eslint to lint your code and prettier.

How to setup

  1. Clone the repo using git clone https://github.com/Timguru/mini-reactjs-setup-create-react-app-alternative.git
  2. Run npm install

Available Scripts

In the project's folder you can run the following commands

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

npm run build

Builds the app for production to the build folder.
It needs some more configuration in the webpack.config.js to be able to run It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!