Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Starter pack for React+ (Reach Router, Redux, Styled Components) using Webpack, Babel, ESLint, Prettier, Husky

Notifications You must be signed in to change notification settings

nelsieborja/starter-pack

Repository files navigation

Starter Kit

  • React

  • Reach Router - Keeps the UI in sync with the URL without page refresh

  • Redux - For store managment, holds up the state in one place

  • Redux Thunk - A middleware that allows running async operations

  • React Redux - Binds React with Redux

  • Styled Components - For creating and styling components at the same time

  • Webpack - Module bundler and a task runner

  • Babel - A compiler that transforms next-gen JavaScript and JSX into browser-compatible JavaScript

    • babel-loader - Allows transpiling JavaScript using Babel and Webpack
    • @babel/preset-env - Compiles next-gen JavaScript down to ES5
    • @babel/preset-react - Compiles JSX down to Javascript
    • @babel/plugin-syntax-dynamic-import - Enables parsing of dynamic imports
  • ESLint - For linting JavaScript and JSX

    • eslint-loader - Checks for linting errors using Webpack
    • eslint-config-airbnb - Provides Airbnb's .eslintrc as an extensible shared config. It has dependency of eslint, eslint-plugin-import, eslint-plugin-react, and eslint-plugin-jsx-a11y
    • eslint-import-resolver-webpack - Makes ESLint aware of the Webpack aliases
  • Prettier - Auto formats code conforming to a consistent style

    • eslint-plugin-prettier - Adds Prettier as a rule in ESLint
    • eslint-config-prettier - Disables other rules that might conflict with Prettier
  • husky + lint-staged - For setting up pre-commit hook for ESLint and Prettier to ensure code is linted and properly formatted before it's committed

  • html-loader - Exports HTML as string

  • html-webpack-plugin - Injects the bundles into the HTML file

  • webpack-dev-server - Provides development server, refreshes the web browser on every file update


A live demo of the repo is available here in case you're curious about an output 😄

About

Starter pack for React+ (Reach Router, Redux, Styled Components) using Webpack, Babel, ESLint, Prettier, Husky

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published