Jordan Brennan
Jordan Brennan
- `value in items` Array or Array-like or object - `(value, key|index) in items` Array or Array-like or object - `(value, key, index) in items` object
@kachurun in that third example why wouldn't index be undefined? What use case are you thinking of where `(value, index, index) in array` is needed?
Guys `:root` really means `` and that meaning is very much cemented. Vue shouldn't mess around with that. [`:host`](https://developer.mozilla.org/en-US/docs/Web/CSS/:host) is closer to what you're looking for and it's what [Riot.js](https://riot.js.org/documentation/#scoped-css)...
...come to think of it, the solution can be as simple as: ``` // other markup div:first-child { ... } ``` Maybe this is what a lot of people already...
@JessicaSachs thanks for the suggestion. I like Cypress for e2e. I'll have to check out the ct stuff.
@1cg was thinking jest, will have to go take a look at mocha-chrome. Thanks!
Ah yes, good questions. I avoided slot because so far there has been no need for Shadow DOM and I'm trying to avoid Shadow DOM for a number of reasons....
Can you give some more details about how it's breaking? I'd like to look into it, I just need more info.
I *think* I have fixed this in my company's fork, will try to repro and fix. Thanks for reporting!
I'd need more info @Danny-Engelman. Is this in regards to a specific component or all of the Custom Element components?