So, I have some slots here, where the components being passed into the DemoContent are markdown files (and there's a thing that switches between the three slots there being rendered one at a time).
<DemoContent client:load>
<Blog slot="blog" />
<TweetThread slot="tweet" />
<Clips slot="highlight" />
</DemoContent>
But, now I need the Clips component to be a Preact component. I made it just a basic counter to see if it would work, and it renders on the page, but the buttons don't actually work.
When I try to do something like:
<DemoContent client:load>
<Blog slot="blog" />
<TweetThread slot="tweet" />
<Clips slot="highlight" client:load />
</DemoContent>
...the entire DemoContent component doesn't render. How do I make the component work?