响应式
Reactivity
Leptos 构建在细粒度响应式系统之上,旨在尽可能低频地运行昂贵的副作用(例如在浏览器中渲染内容或发起网络请求)以响应响应式值的变化。
Leptos is built on top of a fine-grained reactive system, designed to run expensive side effects (like rendering something in a browser, or making a network request) as infrequently as possible in response to change, reactive values.
到目前为止,我们已经看到了信号(signal)的实际运行。这些章节将进行更深入的探讨,并研究响应式系统的另一半:副作用(effect)。
So far we’ve seen signals in action. These chapters will go into a bit more depth, and look at effects, which are the other half of the story.