From 77f22cc3d62941b7827f7b19ac043a879d34d7cf Mon Sep 17 00:00:00 2001 From: Lou Rectoret Date: Fri, 12 May 2023 12:35:26 +0200 Subject: [PATCH] Update index.md Make sure Composition API Users are aware of it!!!! --- docs/api/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/index.md b/docs/api/index.md index c5349f360..99ac3904c 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -1526,7 +1526,9 @@ setData(data: Record): Promise `setData` does not allow setting new properties that are not defined in the component. +::: warning Also, notice that `setData` does not modify composition API `setup()` data. +::: `Component.vue`: