Patch updates (#24854)

pull/24859/head
Luke Latham 2022-02-02 16:58:27 -06:00 committed by GitHub
parent 870df3b3f1
commit b2835034d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 12 deletions

View File

@ -65,14 +65,14 @@ if (someFlag)
builder.AddContent(1, "Second");
```
When the code executes for the first time, if `someFlag` is `true`, the builder receives:
When the code executes for the first time and `someFlag` is `true`, the builder receives the sequence in the following table.
| Sequence | Type | Data |
| :------: | --------- | :----: |
| 0 | Text node | First |
| 1 | Text node | Second |
Imagine that `someFlag` becomes `false` and the markup is rendered again. This time, the builder receives:
Imagine that `someFlag` becomes `false` and the markup is rendered again. This time, the builder receives the sequence in the following table.
| Sequence | Type | Data |
| :------: | ---------- | :----: |
@ -97,14 +97,14 @@ if (someFlag)
builder.AddContent(seq++, "Second");
```
Now, the first output is:
The first output is reflected in the following table.
| Sequence | Type | Data |
| :------: | --------- | :----: |
| 0 | Text node | First |
| 1 | Text node | Second |
This outcome is identical to the prior case, so no negative issues exist. `someFlag` is `false` on the second rendering, and the output is:
This outcome is identical to the prior case, so no negative issues exist. `someFlag` is `false` on the second rendering, and the output is seen in the following table.
| Sequence | Type | Data |
| :------: | --------- | ------ |
@ -183,14 +183,14 @@ if (someFlag)
builder.AddContent(1, "Second");
```
When the code executes for the first time, if `someFlag` is `true`, the builder receives:
When the code executes for the first time and `someFlag` is `true`, the builder receives the sequence in the following table.
| Sequence | Type | Data |
| :------: | --------- | :----: |
| 0 | Text node | First |
| 1 | Text node | Second |
Imagine that `someFlag` becomes `false` and the markup is rendered again. This time, the builder receives:
Imagine that `someFlag` becomes `false` and the markup is rendered again. This time, the builder receives the sequence in the following table.
| Sequence | Type | Data |
| :------: | ---------- | :----: |
@ -215,14 +215,14 @@ if (someFlag)
builder.AddContent(seq++, "Second");
```
Now, the first output is:
The first output is seen in the following table.
| Sequence | Type | Data |
| :------: | --------- | :----: |
| 0 | Text node | First |
| 1 | Text node | Second |
This outcome is identical to the prior case, so no negative issues exist. `someFlag` is `false` on the second rendering, and the output is:
This outcome is identical to the prior case, so no negative issues exist. `someFlag` is `false` on the second rendering, and the output is seen in the following table.
| Sequence | Type | Data |
| :------: | --------- | ------ |
@ -301,14 +301,14 @@ if (someFlag)
builder.AddContent(1, "Second");
```
When the code executes for the first time, if `someFlag` is `true`, the builder receives:
When the code executes for the first time and `someFlag` is `true`, the builder receives the sequence in the following table.
| Sequence | Type | Data |
| :------: | --------- | :----: |
| 0 | Text node | First |
| 1 | Text node | Second |
Imagine that `someFlag` becomes `false` and the markup is rendered again. This time, the builder receives:
Imagine that `someFlag` becomes `false` and the markup is rendered again. This time, the builder receives the sequence in the following table.
| Sequence | Type | Data |
| :------: | ---------- | :----: |
@ -333,14 +333,14 @@ if (someFlag)
builder.AddContent(seq++, "Second");
```
Now, the first output is:
The first output is seen in the following table.
| Sequence | Type | Data |
| :------: | --------- | :----: |
| 0 | Text node | First |
| 1 | Text node | Second |
This outcome is identical to the prior case, so no negative issues exist. `someFlag` is `false` on the second rendering, and the output is:
This outcome is identical to the prior case, so no negative issues exist. `someFlag` is `false` on the second rendering, and the output is seen in the following table.
| Sequence | Type | Data |
| :------: | --------- | ------ |