Add front-end dev practices

This commit is contained in:
Charles-Axel Dein 2020-11-10 15:00:08 +01:00
parent 8ec5c014f6
commit cde2efb62c
1 changed files with 60 additions and 4 deletions

View File

@ -3,20 +3,48 @@
## Table of Contents
- [Front-end development practices](#front-end-development-practices)
- [Goal of this session](#goal-of-this-session)
- [TypeScript](#typescript)
- [Package](#package)
- [Testing](#testing)
- [Code style](#code-style)
- [Security](#security)
- [Dependency management: npm or yarn](#dependency-management-npm-or-yarn)
- [State management](#state-management)
- [Components of a complex web app](#components-of-a-complex-web-app)
- [State management](#state-management)
- [Error handling](#error-handling)
- [CSS](#css)
- [Developer experience](#developer-experience)
- [Building and deploying](#building-and-deploying)
- [Bundling](#bundling)
- [Compiling](#compiling)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Front-end development practices
## Goal of this session
We are reaching the end of our journey... Training can't teach you everything - you'll have to get your hands dirty to learn about front-end development. That being said, in this session we will try to look at all the moving pieces that are necessary to be dangerous in modern front-end development.
## TypeScript
See [TypeScript](./03-typescript.md)
## Package
- npm
- yarn
## Testing
- jest
## Code style
- prettier
- eslint
## Security
- HTTPS
@ -27,8 +55,36 @@
## Dependency management: npm or yarn
## State management
## Components of a complex web app
- Redux
### State management
- Redux (and redux-thunk, redux-saga, redux-observables)
- useReducer
- Flux
### Error handling
- Error boundaries
### CSS
- CSS-in-JS
- styled-components
### Developer experience
- Storybook
- Debugging with the React extension
- Performance and profiling
## Building and deploying
### Bundling
- webpack
- parcel
- rollup
### Compiling
- babel