Skip to content

Commit e05680d

Browse files
authored
Update 01-component-format.md
1 parent e0ac393 commit e05680d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/content/docs/01-component-format.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ You can `export` bindings from this block, and they will become exports of the c
176176

177177
You cannot `export default`, since the default export is the component itself.
178178

179-
> Variables defined in `module` scripts are not reactive, reassigning them will not trigger a rerender even though the variable itself will update.
179+
> Variables defined in `module` scripts are not reactivereassigning them will not trigger a rerender even though the variable itself will update. For values shared between multiple components, consider using a [store](https://svelte.dev/docs#svelte_store).
180180
181181
```html
182182
<script context="module">

0 commit comments

Comments
 (0)