Skip to content

Commit d825e5c

Browse files
committed
Clearer language
1 parent d8b3432 commit d825e5c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rfcs/2024-05-21-ui-component-model.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ export function Counter() {
134134
}
135135
```
136136

137-
Note the lifetimes:
137+
This looks superficially like a React component, but note the lifetimes:
138138

139-
- Counter function is called once at program start, to construct the tree.
140-
- The FRP signals create bindings to specific parts of the tree to update them reactively
139+
- Counter function is a factory function that is called only once, to construct the tree.
140+
- The FRP signals are bound to specific parts of the tree and make fine-grained reactive updates to just those parts of the tree.
141141

142-
The tree returned is largely static, with dynamic FRP bindings in specific places.
142+
So, the tree returned is largely static, with dynamic FRP bindings in specific places.
143143

144144
Pros and cons:
145145

0 commit comments

Comments
 (0)