Skip to content

Commit d4527e0

Browse files
authored
docs: add MDN link to Symbol in provide-inject documentation (#3270)
1 parent 2100387 commit d4527e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/components/provide-inject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ The `computed()` function is typically used in Composition API components, but c
323323

324324
## Working with Symbol Keys {#working-with-symbol-keys}
325325

326-
So far, we have been using string injection keys in the examples. If you are working in a large application with many dependency providers, or you are authoring components that are going to be used by other developers, it is best to use Symbol injection keys to avoid potential collisions.
326+
So far, we have been using string injection keys in the examples. If you are working in a large application with many dependency providers, or you are authoring components that are going to be used by other developers, it is best to use [Symbol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) injection keys to avoid potential collisions.
327327

328328
It's recommended to export the Symbols in a dedicated file:
329329

0 commit comments

Comments
 (0)