--- title: Sharing code --- In all the examples we've seen so far, the ` ``` It's now possible for the components to 'talk' to each other without any state management: ```js onMount(() => { elements.add(audio); return () => elements.delete(audio); }); function stopOthers() { elements.forEach(element => { if (element !== audio) element.pause(); }); } ```