Run pre-commit on all files

This commit is contained in:
Charles-Axel Dein
2020-07-21 09:37:15 +02:00
parent 4af5a19d79
commit ec0f449ede
22 changed files with 125 additions and 36 deletions

View File

@@ -1,3 +1,16 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
## Table of Contents
- [Introduction to front-end programming](#introduction-to-front-end-programming)
- [Goal of this training](#goal-of-this-training)
- [Prerequisites](#prerequisites)
- [To do before the course](#to-do-before-the-course)
- [Curriculum](#curriculum)
- [Inspiration](#inspiration)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Introduction to front-end programming
## Goal of this training

View File

@@ -1,3 +1,43 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
## Table of Contents
- [Modern JavaScript/TypeScript](#modern-javascripttypescript)
- [Quirks](#quirks)
- [Printing and interacting with the console](#printing-and-interacting-with-the-console)
- [Comparing scalar, arrays, and objects](#comparing-scalar-arrays-and-objects)
- [Always use triple comparators (`===`) instead of double (`==`)](#always-use-triple-comparators--instead-of-double-)
- [Comparing non-scalar](#comparing-non-scalar)
- [`Object` methods](#object-methods)
- [`Object.assign`, spread operator](#objectassign-spread-operator)
- [`Array` methods](#array-methods)
- [`Array.includes` (ES7)](#arrayincludes-es7)
- [Object literals, assignment and destructuring](#object-literals-assignment-and-destructuring)
- [Objects](#objects)
- [Array](#array)
- [`let` and `const`](#let-and-const)
- [Arrow functions](#arrow-functions)
- [How `this` works in arrow functions](#how-this-works-in-arrow-functions)
- [Best practices](#best-practices)
- [Classes](#classes)
- [Prototypal inheritance](#prototypal-inheritance)
- [Template literals](#template-literals)
- [Template tags](#template-tags)
- [Loops](#loops)
- [`for... of`](#for-of)
- [Promises](#promises)
- [Creating a promise](#creating-a-promise)
- [Consuming a promise](#consuming-a-promise)
- [Chaining promises](#chaining-promises)
- [Async functions](#async-functions)
- [Modules](#modules)
- [TypeScript](#typescript)
- [Differences between TypeScript and JavaScript](#differences-between-typescript-and-javascript)
- [An introduction to TypeScript's type system](#an-introduction-to-typescripts-type-system)
- [References](#references)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Modern JavaScript/TypeScript
Note: run code quickly with https://codesandbox.io/s/

View File

@@ -1,3 +1,15 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
## Table of Contents
- [An introduction to React](#an-introduction-to-react)
- [The inspiration for React](#the-inspiration-for-react)
- [React components](#react-components)
- [An introduction to state management in React application](#an-introduction-to-state-management-in-react-application)
- [Testing React applications](#testing-react-applications)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# An introduction to React
## The inspiration for React

View File

@@ -1,3 +1,14 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
## Table of Contents
- [CSS & HTML: restart](#css--html-restart)
- [An intro to modern technologies and methodologies](#an-intro-to-modern-technologies-and-methodologies)
- [Topics](#topics)
- [Accessibility](#accessibility)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# CSS & HTML: restart
## An intro to modern technologies and methodologies

View File

@@ -1,3 +1,13 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
## Table of Contents
- [Front-end development practices](#front-end-development-practices)
- [Testing](#testing)
- [Code style](#code-style)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Front-end development practices
## Testing