Skip to content

kkoomen/react-redux-typescript-web

Repository files navigation

Introduction

An extension of create-react-app 2 (ejected) with some extras:

  • hot reloading 🔥
  • linters (tslint)
  • redux
  • redux-thunk
  • routing
  • basic structure
  • local storage (for redux state persistance)
  • ImmutableJS
  • Bootstrap 4
  • i18n

This extension also has built-in support for the following extensions:

Scripts

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn test:update

Same as yarn test but before going into an interactive watch mode it will update all the snapshots.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

yarn plop

Use this command to generate components, containers, actions & reducers.
Especially because of the typescript usage making a component and writing basic tests may take a long time. Use the generator to instantly create components, containers, actions & reducers that have basic tests and correct typings setup already. Also a more consistent code style will be used throughout the codebase if generators are used.

Getting started

  • Clone the repository
  • (optional, but recommended) Go into package.json and set the name property at the top to your new project its name.
  • Run yarn install
  • Run yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published