8000 Small grammar problem (#1539) · lipis/vuejs.org@091146b · GitHub
[go: up one dir, main page]

Skip to content

Commit 091146b

Browse files
hecktarzulisdras
authored andcommitted
Small grammar problem (vuejs#1539)
1 parent f68a892 commit 091146b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ type: api
10041004
10051005
<p class="tip">`provide` and `inject` are primarily provided for advanced plugin / component library use cases. It is NOT recommended to use them in generic application code.</p>
10061006
1007-
This pair of options are used together to allow an ancestor component to serve as a dependency injector for its all descendants, regardless of how deep the component hierarchy is, as long as they are in the same parent chain. If you are familiar with React, this is very similar to React's context feature.
1007+
This pair of options are used together to allow an ancestor component to serve as a dependency injector for all its descendants, regardless of how deep the component hierarchy is, as long as they are in the same parent chain. If you are familiar with React, this is very similar to React's context feature.
10081008
10091009
The `provide` option should be an object or a function that returns an object. This object contains the properties that are available for injection into its descendants. You can use ES2015 Symbols as keys in this object, but only in environments that natively support `Symbol` and `Reflect.ownKeys`.
10101010

0 commit comments

Comments
 (0)
0