Skip to content

Commit 2b68687

Browse files
committed
Formatting
1 parent 0903b63 commit 2b68687

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Context: converge on a default UI component model for LLM-generated UI.
88

99
## Goals
1010

11-
Product goals:
11+
### Product goals
1212

1313
- Easy for LLMs to generate
1414
- Leverages patterns and/or frameworks that are widely present in the training data, or can be learned within a small context window.
@@ -17,7 +17,7 @@ Product goals:
1717
- Leverages familiar or established patterns for UI development
1818
- Conformable with existing web FE toolchains.
1919

20-
Technical goals:
20+
### Technical goals
2121

2222
- Components are encapsulated
2323
- A component may control its child tree, but not its siblings or parent
@@ -49,11 +49,12 @@ Technical goals:
4949
- Components can be rendered on the web platform
5050

5151
Soft goals:
52-
- UI templates are static
52+
53+
- UI templates are static (P3)
5354
- They are compiled once at program start, and produce a static tree with specific “binding points” in the tree, where dynamic values and dynamic lists are rendered.
5455
- This may have a performance advantage over a totally dynamic VDOM tree, since it would allow us to analyze and enforce policies on the tree once, rather than after every render
5556

56-
Non-goals:
57+
### Non-goals
5758

5859
- Separation of concerns. At odds with high locality of behavior.
5960

0 commit comments

Comments
 (0)