Skip to content

TypeScript Boilerplate for React. Contains: redux with thunk, styled components, eslint (airbnb config), prettier, import aliases (react-app-rewired)

Notifications You must be signed in to change notification settings

snoh666/react-typescript-template

Repository files navigation

React TypeScript template

Template for React App with already setup environment with most popular packages.


Main github repo snoh666/react-typescript-template

Contained packages

  • redux:
    • redux-thunk
    • redux-devtools-extension
  • styled-components
  • eslint & prettier configured into airbnb rules
  • typescript compiling
  • react-app-rewired (webpack aliases without ejecting)
  • jest + react testing library (RTL)

Installing and starting

Starting goes the same way as normal CRA.

  1. Installing all required packages with npm install or yarn install
  2. Starting up React App npm start or yarn start
  3. Ready to go!

App is prepared to handle yarn and also npm depending on what you want just delete stuff related to useless one.

About

I've wanted to have some kind of less advanced template to use with my side projects. Later on I've decided on making this real public "template" which other people can really use or learn from

I know It's very hard to always get started on first projects with that kind of libraries as TypeScript or even redux-thunk so that's it! Feel free to use MR's are really welcome here!

About

TypeScript Boilerplate for React. Contains: redux with thunk, styled components, eslint (airbnb config), prettier, import aliases (react-app-rewired)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published