Setting class on `ile-root`
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
[troubleshooting section]: https://iles-docs.netlify.app/faqs/troubleshooting
- [x] I have read the __[troubleshooting section]__ before opening an issue.
- [x] I have tried upgrading `iles` and `vite`.
### Description 📖
This is a follow-up to the resolution of #150.
I have a problem with the approach taken in resolving #150. Using that approach it is not possible to set different classes on the `` wrapper and the component it encloses. Seems like setting just `class` makes both take the same value.
### Reproduction 🐞
Taking the same example as #150. The code
```html
```
now produces
```html
```
Consider if `.child` has CSS rule like `font-size: 2em`, the above code would make the font 4 times larger, not two. This is a pretty unexpected result.
Dependencies Info
_Run `npx iles info` and `pnpm list` (or `npm list`) and provide the output:_
```
iles v0.9.0 vite v4.0.3
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.