From 2c38595dfc4dec574ea80e3c7666325fb60924e8 Mon Sep 17 00:00:00 2001 From: Mehdi <9340937+meduzen@users.noreply.github.com> Date: Tue, 22 Jul 2025 14:44:31 +0200 Subject: [PATCH] Add MDN link to `Symbol` in provide-inject documentation --- src/guide/components/provide-inject.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/components/provide-inject.md b/src/guide/components/provide-inject.md index 3a5329c7e5..d95edf797a 100644 --- a/src/guide/components/provide-inject.md +++ b/src/guide/components/provide-inject.md @@ -323,7 +323,7 @@ The `computed()` function is typically used in Composition API components, but c ## Working with Symbol Keys {#working-with-symbol-keys} -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. +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. It's recommended to export the Symbols in a dedicated file: