We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4832351 commit 2c489f5Copy full SHA for 2c489f5
documentation/docs/06-runtime/02-context.md
@@ -80,7 +80,7 @@ Context is not inherently reactive. If you need reactive values in context then
80
```svelte
81
<!--- file: Child.svelte --->
82
<script>
83
- import { setContext } from 'svelte';
+ import { getContext } from 'svelte';
84
85
const value = getContext('counter');
86
</script>
0 commit comments