Главная
Study mode:
on
1
Intro
2
Outline
3
Static vs. Dynamic
4
Why Use Types?
5
Why Avoid Types?
6
Flow Overview
7
TypeScript Overview
8
Comparing Flow & TypeScript
9
Installing Flow
10
Running Flow
11
Type Suggestions
12
Executing Code With Types ...
13
Flow Analysis Example
14
Uninitialized References
15
Flow Types
16
Maybe Type
17
Basic Types Example
18
Builtin Types
19
Functions
20
Arrays
21
Objects
22
Classes
23
Unions For Enums
24
Sharing Type Aliases Example
25
Escape Hatch
26
Flow Server ...
27
Flow Project Checklist
28
Dev Dependencies
29
Recommended npm Scripts
30
Babel Setup
31
flowconfig File
32
flow-typed
33
Editor/IDE Setup...
34
Sample Project
35
Project Dependencies
36
The Code ...
37
Summary
38
Bonus Slides
39
Nominal vs. Structural Typing
40
Variance in Flow & TypeScript
41
Soundness vs. Correctness
Description:
Explore the fundamentals of Flow, an open-source static type checker for JavaScript, in this comprehensive 58-minute conference talk. Learn how to gradually add types to your JavaScript code, catch errors through type inference and flow analysis, and understand the differences between Flow and TypeScript. Dive into various Flow types, including primitives, functions, arrays, objects, and generic classes. Discover how to set up Flow in your development environment, integrate it with Babel and ESLint, and leverage its React and JSX support. Gain insights into the benefits and potential drawbacks of using types in JavaScript, and explore advanced topics such as type aliases, generics, interfaces, and disjoint unions. By the end of this talk, acquire the knowledge needed to effectively implement Flow in your projects and enhance your JavaScript development workflow.

Flow - Am I Your Type?

NDC Conferences
Add to list