From c7e8e6fee99e78c8ccd2ea31f888b7671a27202e Mon Sep 17 00:00:00 2001 From: Bassam Ismail Date: Mon, 15 Jun 2020 20:49:59 +0530 Subject: [PATCH] fix(5019): imported stores can be identified as reactive store subscription --- src/compiler/compile/Component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/compile/Component.ts b/src/compiler/compile/Component.ts index a5a31c8070..1a28e8dfc8 100644 --- a/src/compiler/compile/Component.ts +++ b/src/compiler/compile/Component.ts @@ -632,6 +632,7 @@ export default class Component { this.add_var({ name, initialised: instance_scope.initialised_declarations.has(name), + hoistable: true, writable });