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 d16a9da commit 8e32180Copy full SHA for 8e32180
documentation/docs/99-legacy/40-legacy-component-api.md
@@ -82,7 +82,7 @@ component.$set({ answer: 42 });
82
> ```js
83
> // @noErrors
84
> let props = $state({ answer: 42 });
85
-> const component = mount(Component);
+> const component = mount(Component, { props });
86
> // ...
87
> props.answer = 24;
88
> ```
0 commit comments