Skip to content

Commit a9bd67e

Browse files
Rewrite sentence that makes it looks like this is not useful for the general web developer
1 parent fc3fa31 commit a9bd67e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

WEB-INTEGRATION.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,13 @@ Web frameworks such as React may decide to save and restore
128128
`AsyncContext.Snapshot`s when re-rendering subtrees. More outreach to frameworks
129129
is needed to confirm exactly how this will be used.
130130

131-
132131
## General approach to web API semantics with AsyncContext
133132

134133
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.
139138

140139
In general, contexts should propagate along an algorithm’s data flow. If an
141140
algorithm running in the event loop synchronously calls another algorithm or

0 commit comments

Comments
 (0)