|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/build-a-state-management-library-with-typescript/
课程评论:没有评论
课程名称:使用 TypeScript 构建状态管理库 课程概述:在本课程中,您将学习如何构建自己的状态管理库,并将其应用于 Web 和 Node.js 项目。需要注意的是,这并不是一个“构建我的第一个库”类型的课程。我们将构建一个可用于日常开发的生产就绪状态管理器。课程内容将涵盖以下方面: - 性能优化的更新和订阅 - 通过 TypeScript 泛型实现严格的类型安全 - 通过中间件 API 支持第三方开发者功能 - 为 ES 模块和 Common.js 项目编译 - 为 React 等 UI 库构建绑定 除了构建库,我们还将讨论设计模式、决策以及如何进一步提升您的库的潜力。 课程结构:在每个章节中,您将构建状态管理器功能的核心部分——公共 API、事件发射器以及 React 的绑定。您将精通每个步骤,并深入理解几乎所有 Web 应用程序的状态在内部是如何工作的。 最重要的是,我们的构建将是完全无依赖的。我们将手动编码所需的每一个组件。到课程结束时,您将能够: - 深入理解所有状态管理解决方案的内部工作 - 理解发布/订阅模型如何驱动组件及其订阅者的更新 - 理解哪些状态管理解决方案最适合您当前工作的产品 - 轻松构建并发布自己的开源库
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 SubscriptionsStrict Type-safety through the use of TypeScript GenericsSupport for third party developer features through a Middleware APICompiling for ES Modules and Common.js projectsBuilding bindings for UI libraries such as ReactIn 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 solutionsUnderstand how the pub/sub model drives updates to your components and subscribersUnderstand which state management solutions are best for the product you're currently working onAnd easily build and ship your own open source libraries