Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component not rendering when using client:only directive #250

Open
2 tasks done
TechAkayy opened this issue May 3, 2023 · 0 comments
Open
2 tasks done

Component not rendering when using client:only directive #250

TechAkayy opened this issue May 3, 2023 · 0 comments

Comments

@TechAkayy
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant