Welcome to my personal Typescript & React application guidelines. In this project I keep my references to typescript styleguide, project architecture guide, and a list of useful tools for React and Typescript development.
- Typescript Code-Style Guide
- React App Architecture Guide
- React Redux Guide
- Basic React stack
- Useful tools for React and TS
react- the React itself. Start new app withnpx create-react-app my-app --template typescriptonly.node-sass- a tool used to implementscssandsassstyles in the app, which later compile into plaincsswith this package.redux- plain Redux package, which is used to handle React objects store for the whole app.react-redux- a package used to bind Redux with React UI.immer- a package used to correctly mutate immutable Redux state, as well as simplify the reducer creation.redux-axios-middleware- redux middleware that handlesaxioshttp requests to the API through reducers. This middleware keeps track of all events over state and is easy to implement via reducers.redux-logger- ultra-useful tool to keep eye-track over the Redux state of the app and actions implemented over it.react-router- package which takes care of your pages composition and redirects, links, view history, etc.react-hook-form- also very great package to easily develop and handle pro-like forms in react.
- Typescript
eslint- ( a new version oftslintwhich was deprecated in 2019), can be used to check your code style on the fly. - TS Formatter
tsfmt- used to format typescript files on the fly or from the cmd. A powerful tool to use for automation to keep the code clean during build or deployment. - Jest
jest- a testing library for react applications. Jest is a delightful JavaScript Testing Framework with a focus on simplicity and it works charmly with Typescript.