Coderstand

TechLunch #17 Typing in JS (29/11/2017)

29/11/2017

Warning: theses notes are published raw, without any rewriting.
Attention: ces notes sont publiées telles quelles, sans retraitement particulier.

Talk #1 Typescript with React

  • Check PropTypes à la compilation
  • PropTypes avec generic types ⚠️ interpolation

Talk #2 Flow

  • Flow écrit en Ocaml 🇫🇷
  • Atom / VS Code (WebStorm?)
  • Type inference
  • custom types
  • union types
  • generic types
  • seal types {|type|}
  • merge objet types with spread
  • objects as map
  • read and write properties
  • some helpers $keys $Element Type etc etc
  • CLI

Talk #3 Reason

  • Ocaml with JS syntax
  • auto currying
  • module system, open or not
  • immutable by default
  • variant types = union types
  • pattern matching
  • local scope
  • BuckleScript
  • import JS or convert from JS
  • https://reasonml.github.io/

TwitterFacebookLinkedin