Giter VIP home page Giter VIP logo

ts-guidelines's Introduction

Typescript & React Guidelines

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.

Index

Basic React stack

  • react - the React itself. Start new app with npx create-react-app my-app --template typescript only.
  • node-sass - a tool used to implement scss and sass styles in the app, which later compile into plain css with 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 handles axios http 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.

Useful tools for React app development with Typescript

  • Typescript eslint - ( a new version of tslint which 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.

ts-guidelines's People

Contributors

markusbansky avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.