CloudCannon / bookshop

📚 A component development workflow for static websites.
MIT License
247 stars 21 forks source link

using Astro.slots.render() breaks live editing #178

Closed silveltman closed 9 months ago

silveltman commented 9 months ago

using Astro.slots.render() breaks live editing:

---
const slot = await Astro.slots.render('default')
---

{
  slot?.length > 4 && (
    <section>
      <slot />
    </section>
  )
}

using Astro.slots.has() also breaks live editing

Tate-CC commented 9 months ago

Hi @silveltman!

This issue should be fixed by yesterday's release of Bookshop 3.9.0!