You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docs: Follow one convention for writing "one-to-one" (#12352)
_Description of what this PR is changing or adding, and why:_ Changed
other conventions like "1:1" and "1-to-1" to "one-to-one" for
consistency. (Also, "one-to-one" looks like the standardized way.)
Copy file name to clipboardExpand all lines: src/content/app-architecture/guide.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ based on the MVVM design pattern:
107
107
For example, you might need to combine data from multiple repositories,
108
108
or you might want to filter a list of data records.
109
109
110
-
Views and view models should have a 1:1 relationship.
110
+
Views and view models should have a one-to-one relationship.
111
111
112
112
<imgsrc='/assets/images/docs/app-architecture/guide/feature-architecture-simplified-UI-highlighted.png'alt="A simplified diagram of the architecture described on this page with the view and view model objects highlighted.">
113
113
@@ -120,8 +120,8 @@ and you can test the logic of your UI independently of Flutter widgets.
120
120
:::note
121
121
'View' is an abstract term, and one view doesn't equal one widget.
122
122
Widgets are composable, and several can be combined to create one view.
123
-
Therefore, view models don't have a 1-to-1 relationship with widgets,
124
-
but rather a 1-to-1 relationship with a *collection* of widgets.
123
+
Therefore, view models don't have a one-to-one relationship with widgets,
124
+
but rather a one-to-one relationship with a *collection* of widgets.
0 commit comments