diff --git a/src/lib/components/Recipies/LearnColor.svelte b/src/lib/components/Recipies/LearnColor.svelte
new file mode 100644
index 0000000..1dd9300
--- /dev/null
+++ b/src/lib/components/Recipies/LearnColor.svelte
@@ -0,0 +1,52 @@
+
+
+
I am the parent, this is my state: {current}
+
+The child state: {JSON.stringify($childStore)}
diff --git a/src/lib/components/Recipies/LearnReady.svelte b/src/lib/components/Recipies/LearnReady.svelte
new file mode 100644
index 0000000..b18126a
--- /dev/null
+++ b/src/lib/components/Recipies/LearnReady.svelte
@@ -0,0 +1,24 @@
+
+
+
+ i am the child and this is my state: {current}
+
+
diff --git a/src/lib/components/Recipies/feedback.md b/src/lib/components/Recipies/feedback.md
index e69de29..575f728 100644
--- a/src/lib/components/Recipies/feedback.md
+++ b/src/lib/components/Recipies/feedback.md
@@ -0,0 +1,15 @@
+childState: function subscribe2(run, invalidate = noop) {
+ const subscriber = [run, invalidate];
+ subscribers.add(subscriber);
+ if (subscribers.size === 1) {
+ stop = start(set, update) || noop;
+ }
+ run(value);
+ return () => {
+ subscribers.delete(subscriber);
+ if (subscribers.size === 0 && stop) {
+ stop();
+ stop = null;
+ }
+ };
+ }
\ No newline at end of file
diff --git a/src/lib/components/Recipies/machines/toggleMachine.ts b/src/lib/components/Recipies/machines/toggleMachine.ts
new file mode 100644
index 0000000..e5ded94
--- /dev/null
+++ b/src/lib/components/Recipies/machines/toggleMachine.ts
@@ -0,0 +1,14 @@
+import { Machine } from 'xstate';
+
+export const toggleMachine = Machine({
+ id: 'toggle',
+ initial: 'NOTREADY',
+ states: {
+ NOTREADY: {
+ on: { TOGGLE: 'READY' }
+ },
+ READY: {
+ on: { TOGGLE: 'NOTREADY' }
+ }
+ }
+});
\ No newline at end of file
diff --git a/src/lib/components/Recipies/oRecipe.svelte b/src/lib/components/Recipies/oRecipe.svelte
index fcce5c5..8fd00dc 100644
--- a/src/lib/components/Recipies/oRecipe.svelte
+++ b/src/lib/components/Recipies/oRecipe.svelte
@@ -5,6 +5,31 @@
export let machine;
+ let composite = {
+ id: 'testingstuff',
+ layout: {
+ columns: '1fr 1fr',
+ areas: `
+ "left right"
+ `
+ },
+ children: [
+ {
+ id: 'child',
+ component: 'LearnReady',
+ slot: 'left',
+ store: {
+ xstate: 'NOTREADY'
+ }
+ },
+ {
+ id: 'parent',
+ component: 'LearnColor',
+ slot: 'right'
+ }
+ ]
+ };
+
let current = machine.initialState.value;
const service = interpret(machine)
@@ -19,6 +44,9 @@