halafi / quickact

Production ready template for React SPA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Template for your next React app

Production ready lightweight React starter.

If you plan to use React in production and don't like create-react-app after you eject.

Primarily aimed at client side single page apps.

To create a new project based on this template using degit:

  npx degit halafi/quickact react-app
  cd react-app

Get started

Install the dependencies...

  cd react-app
  yarn

...then start:

  yarn start

Navigate to localhost:8080. You should see your app running.

🔧 What's included

  • Client Side Rendering
  • Hot Module Replacement (HMR)
  • Webpack Dev Server
  • Webpack Production (+ gzip)
  • TypeScript
  • Eslint
  • Prettier
  • Browserslist
  • Editorconfig
  • Styled Components (might change this to linaria)
  • Normalize
  • Babel + Polyfills (CoreJS 3)
  • Jest (without coverage and component testing setup)
  • Lib: date-fns

❔ What might be included in the future

  • Rome (once it is more mature and not just a linter could replace Eslint, Webpack, Babel...)
  • Routing
  • Code Splitting
  • PWA, Workbox

❌ What is probably not going to be included

  • Stylelint
  • Server Side Rendering
  • Prerendering (for pre-rendering on steroids check out Elderjs)
  • Helmet / SEO

About

Production ready template for React SPA


Languages

Language:JavaScript 70.0%Language:TypeScript 11.1%Language:CSS 9.8%Language:HTML 9.1%