ElMassimo / iles

🏝 The joyful site generator
https://iles.pages.dev
MIT License
1.06k stars 31 forks source link

Component not rendering when using client:only directive #250

Open TechAkayy opened 1 year ago

TechAkayy commented 1 year ago

Description 📖

When using client:only to fetch the latest articles from dev.to only on client-side, I'm getting this warning, and the component is not getting rendered.

In the second page (Articles) in the repo, I'm applying client:only directive on the ArticleList component like this. <ArticleList client:only />

image

I was wondering if I have misunderstood the client:only directive and it's usage. Please advise if so.

Reproduction 🐞

https://github.com/TechAkayy/testing-client-only

Dependencies Info _Run `npx iles info` and `pnpm list` (or `npm list`) and provide the output:_ ``` iles v0.9.5 vite v4.3.4 ```