In this course you'll learn to build your own State Management library and ship it to web and Node.js projects. Quick warning; this will not be a "build-my-first-library" type of course. We're going to build a production-ready state manager, ready to be used anywhere in your day-to-day development. We'll cover everything from:
Performant Updates and Subscriptions
Strict Type-safety through the use of TypeScript Generics
Support for third party developer features through a Middleware API
Compiling for ES Modules and Common.js projects
Building bindings for UI libraries such as React
In addition to building a library, we'll walk through design patterns, decisions, and how to take your library even further on your own.
What does the course look like?
In each chapter, you'll build a core piece of the state manager's functionality - the public API, the Event Emitter, as well as the bindings for React. You'll master each step and gain a high-level understanding of how just about every web application's state works under-the-hood.
Best of all, our build will be 100% dependency-free. We're going to hand-code each and every component we need. By the end of this course, you'll be able to:
Deeply understand the working internals of all state management solutions
Understand how the pub/sub model drives updates to your components and subscribers
Understand which state management solutions are best for the product you're currently working on
And easily build and ship your own open source libraries