UDUI Dudeinuidude.dev·Aug 6, 2023 · 5 min readProviders, a context API for TypeScriptThe previous post discussed what context APIs are and why they are important. This post outlines Providers, a halfway decent implementation of a TypeScript Context API we built for the NPE Toolkit. Recap: Goals for a TypeScript context API Allow sha...00
UDUI Dudeinuidude.dev·Aug 2, 2023 · 6 min readFirst, some contextA context API is the foundation for re-usable complex libraries and components, and we don’t yet have a great context API for TypeScript client and server development (or at least that I’m aware of). Context allows code to access variables that aren’...00