From b2656786420dde088893f4b41beba9023965ea75 Mon Sep 17 00:00:00 2001 From: skirtle <65301168+skirtles-code@users.noreply.github.com> Date: Mon, 5 Jul 2021 08:32:23 +0100 Subject: [PATCH] docs: elaborate on what can be included in the createApp root props --- src/api/global-api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/global-api.md b/src/api/global-api.md index 01d2ed518f..7febfd64e3 100644 --- a/src/api/global-api.md +++ b/src/api/global-api.md @@ -63,6 +63,8 @@ const app = createApp( ``` +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. + ### Typing ```ts