0.1.1 • Published 3 years ago

cra-template-react-basic v0.1.1

Weekly downloads
13
License
-
Repository
github
Last release
3 years ago

This is a Create React App Template with Redux toolkit, React router and Styled components

This template was created to make it easier to create a new react typescript app with all the necessary boilerplate code. This template was set up with:

  • redux, redux toolkit, redux thunk
  • styled components with a theme object
  • react router dom

Original Create React App README available here

Usage

npx create-react-app your-project-name --template react-basic

Motivation

We all know the struggle of starting a new project. Install all the necessary package, delete the unnecessary files/lines, set up the route and the theme... Thats why I create this template, to make it much quicker to start a new react project.

Available Scripts

  • npm start - runs the app in developement mode. Open http://localhost:3000 to check it in the browser
  • npm test - launch the test runner
  • npm build - builds the app for production to the build folder.
  • npm eject - exposes content of react-script package.

Source

I use this article by Alexander Grischuk to create this tempalte.