Skip to content

Component not rendering when using client:only directive #250

@TechAkayy

Description

@TechAkayy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions