From 73796c756f76b2025a7c74d5eb36bf95bec31ce3 Mon Sep 17 00:00:00 2001 From: Samuel Andert Date: Thu, 3 Aug 2023 15:29:46 +0200 Subject: [PATCH] refactoring Composer part3 --- .../components/refactor/ComposerAlice.svelte | 7 ++- .../components/refactor/ComposerBob.svelte | 3 ++ .../components/refactor/ComposerCharly.svelte | 54 ++----------------- .../components/refactor/ComposerWrap.svelte | 21 +------- src/lib/core/coreServices.ts | 12 ----- src/lib/core/refactor/Composer.svelte | 6 ++- 6 files changed, 19 insertions(+), 84 deletions(-) diff --git a/src/lib/components/refactor/ComposerAlice.svelte b/src/lib/components/refactor/ComposerAlice.svelte index 63848e7..f6a56c4 100644 --- a/src/lib/components/refactor/ComposerAlice.svelte +++ b/src/lib/components/refactor/ComposerAlice.svelte @@ -1,4 +1,5 @@
+

My ID is: {me.id}

+ I am the parent, this is my state: {$store.machine.state}
+ export let me; export let store; export let machineService; @@ -10,6 +11,8 @@
+

My ID is: {me.id}

+ i am the child and this is my state: {$store.machine.state}