EP40 状态机自古以来是前端领域不可分割的一部分 episode artwork

EPISODE · Aug 5, 2024 · 15 MIN

EP40 状态机自古以来是前端领域不可分割的一部分

from AsyncTalk

状态机自古以来就是前端领域不可分割的一部分。本期节目从状态机开始,讨论了一些开发经验 —— 包括不能走极端框架信仰,同步不一定万恶,状态机不可分割。之后用一个例子介绍了如何用流程和状态管理来进行业务设计。最后,前端的天花板不一定像是外界说得那么低(有没有可能,低是因为视野低?)主播AnnatarHe: https://annatarhe.comTimeline00:07 比较懒,所以更新慢03:40 因为巨大的项目,所以想起了状态机01:58 不要定式思维框架04:21 设计模式确实很有道理,得学,得用05:30 复杂状态下,考虑一下,接上状态机08:20 同步并不是纯粹的坏事,也不应该完全拒绝09:48 状态机可以有效降低维护成本10:12 例子:和机器人聊天的状态与逻辑设计14:14 不要定式思维,不要接到需求就开干14:50 前端的天花板,也许没有外界说得那么低相关链接XState: https://stately.ai/docsState and Lifecycle: https://legacy.reactjs.org/docs/state-and-lifecycle.html扩展阅读Improving State Management with Xstate: Refactoring Authorization Flows: https://annatarhe.github.io/2024/08/04/improving-state-management-with-xstate-refactoring-authorization-flows.html

Episode metadata supplied by the publisher feed · Published Aug 5, 2024

Embed this episode

Ready to play

EP40 状态机自古以来是前端领域不可分割的一部分

0:00 15:42

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of AsyncTalk?

This episode is 15 minutes long.

When was this AsyncTalk episode published?

This episode was published on August 5, 2024.

Can I download this AsyncTalk episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!