Skip to content

Commit 9554a83

Browse files
docs: elaborate on what can be included in the createApp root props (#1123)
1 parent 4dc940e commit 9554a83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/api/global-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ const app = createApp(
6363
</div>
6464
```
6565

66+
The root props are raw props, much like those passed to [`h`](#h) to create a VNode. In addition to component props, they can also include attributes and event listeners to be applied to the root component.
67+
6668
### Typing
6769

6870
```ts

0 commit comments

Comments
 (0)