Skip to content

dreamapple0806/react-simple-starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Source Love


React Simple Starter

🎒 Get up and running with 🔥 [hot reload] and optimized production build 💎

Result of revisiting to webpack basics 😊

banner

Quick start

  • Clone this repo
  • Run npm run quick/yarn quick
  • Go to http://localhost:5050

Features

tech

  • 🔥 Hot Reload

  • Creates files using commands

    • Containers with test files : yarn cont MyContainer1 MyContainer2
    • Component with test file: yarn comp MyComponent1 MyConponent2
  • Linting using ESLint following Airbnb style guide

  • Testing using Jest

Commands

  • clean-init: To start with a fresh repo
  • comp: Create component folder and files (including test file)
  • cont: Create container folder and files (including test file)
  • start: Start the dev server running at http://localhost:5050
  • build: Build for production, ready to host
  • test: Run tests in watch mode
  • quick: Clean and install dependencies, start the server

Example app

sample app

More docs will be updated soon

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.

About

⚡ Webpack custom create-react-app with HMR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.9%
  • CSS 12.7%
  • HTML 1.4%