From e0ac393a764ef2477b665df4255f1c2e647e9091 Mon Sep 17 00:00:00 2001 From: pngwn Date: Thu, 27 Jun 2019 20:59:40 +0100 Subject: [PATCH] Site: document that module script variables are not reactive. Closes #3029. --- site/content/docs/01-component-format.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/site/content/docs/01-component-format.md b/site/content/docs/01-component-format.md index b60457d5af..c78ad3ebdb 100644 --- a/site/content/docs/01-component-format.md +++ b/site/content/docs/01-component-format.md @@ -176,6 +176,8 @@ You can `export` bindings from this block, and they will become exports of the c You cannot `export default`, since the default export is the component itself. +> Variables defined in `module` scripts are not reactive, reassigning them will not trigger a rerender even though the variable itself will update. + ```html