A Work in Progress

developer's blog by Wei
lots of work in progress notes

Map component pattern

September 21, 2019

Map component pattern, TypeScript's conscious choice between soundness and completeness

TypeScript creates a very intuitive alignment between the abstract type and the component type, this is thanks to its conscious choice between soundness and completeness. Some more insight can be found in this recent talk.

The map component pattern (I don't know a better name for it) is a pattern I start to like a lot recently! This talk by Jenn Creighton explains it very well (+more motivations from creating component for more sensible reuse).

© 2019 - 2021 built with ❤