Trey Shugart
Trey Shugart
The `mount()` function should additionally accept a string as the second argument which is a selector of the node to mount to. The first matched node in the `document` should...
Instead of rendering the tree and diffing that, we should only compare to see if the function / constructor is the same as what was given us in the last...
Use `key` prop for determining if an element has moved in a tree and should not be discarded
Implement `ref` behaviour
This should work for hosts if no shadow root is available like other forms: `has()`
Currently there's only `mount()`. There might be use cases for: - `light()` - Only traverses light DOM - `shadow()` - Current impl of `mount()`. Uses `shadowRoot`, but does not descend...
This would effectively fill what the shadow-piercing combinator enabled. No matter how deep the element you're trying to select is, it should find and return it. The only catch is...
This should trigger an event in the same manner [skate does](https://github.com/skatejs/skatejs/blob/master/src/api/emit.js#L14). This should probably be called something like `emit()`, `trigger()` or `dispatch()` instead of `simulate()`, because it's not really "simulating"...
```js wrapper.wait(condition, { timeout: 2000 }); ```
Currently we support HTML in `mount()` but it'd be nice if this was also supported in `all()` et al to match that. For example: ```js mount('').one(''); ``` If we do...