Typed Functional Programming in TypeScript with fp-ts
summary
Claims that fp-ts plus io-ts and monocle actually produce branded types so a string becomes a compile time Email after passing a decoder, not just a runtime check. Shows a five‑minute signup form built with a useForm hook, uses Either to force explicit error handling, and demonstrates that TypeScript surfaces type errors when invalid data flows through. The demo compiles, validates at the border, and reuses normal npm libraries across browser and server.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 0:35fpts
- 1:43runtime checks
- 2:45branded type
- 3:47eater type
- 5:01benefits
- 5:51example
- 6:07the problem
- 6:25TypeScript Workshop
related talks
46mA Real World Example of Functional Programming with fp-ts
43mHow to get away with functional programming in frontend applications
33mPurifying Typescript
21mSuper TypeScript II Turbo – FP Remix
37mType-level Programming ƒun in TypeScript
43mA Deep Dive into Advanced TypeScript: A Live Coding Expedition
44mA Deep Dive Into Advanced TypeScript - A Live Coding Expedition
59mA Deep Dive into Advanced TypeScript: A Live Coding Expedition
