ElMassimo / ElMassimo/iles

Unable to partially hydrate components with scoped slots

Open
#194 2 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
TypeScript
Stars
1.2k
Forks
36
PR merge metrics
No merged PRs in 30d

Description

I've created a toy example to illustrate this issue. It's possible that I'm trying to use Iles incorrectly, apologies if that is the case.

Here is a simple component which exposes a scoped slot

```vue

const props = defineProps<{
items: { data: string }[];
}>();



```

I use it within the index page like so:

```vue

const items = [{ data: "A" }, { data: "B" }];



{{ item.data }}

```

This results in the following error:

![image](https://user-images.githubusercontent.com/25370730/191501853-84d1cd53-9c02-46b2-af7b-7083b74618bd.png)

When I remove `client:only` the component works as expected.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.