File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -128,14 +128,13 @@ Web frameworks such as React may decide to save and restore
128
128
` AsyncContext.Snapshot ` s when re-rendering subtrees. More outreach to frameworks
129
129
is needed to confirm exactly how this will be used.
130
130
131
-
132
131
## General approach to web API semantics with AsyncContext
133
132
134
133
The AsyncContext API isn’t designed to be used directly by most
135
- JavaScript application developers, but rather as an implementation detail of certain
136
- third-party libraries . AsyncContext makes it so users of those libraries don’t
137
- need to explicitly integrate with it. Instead, the AsyncContext mechanism
138
- handles implicitly passing contextual data around.
134
+ JavaScript application developers, but rather used by certain third-party libraries
135
+ to provide good DX to web developers . AsyncContext makes it so users
136
+ of those libraries don’t need to explicitly integrate with it. Instead, the
137
+ AsyncContext mechanism handles implicitly passing contextual data around.
139
138
140
139
In general, contexts should propagate along an algorithm’s data flow. If an
141
140
algorithm running in the event loop synchronously calls another algorithm or
You can’t perform that action at this time.
0 commit comments