developit / developit/preact-portal
breaks on 10.0.0-alpha.*
Open
- Dominant language
- JavaScript
- Stars
- 183
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
This is due to how render doesn't append new dom anymore if it's being rendered already, also this.props.children is not always an array. I had a go at fixing it by doing some workaround like:
```js
this.remote = this.props.into.appendChild(document.createElement('div'));
```
But then I don't know Preact well enough to render directly into that remote, render will render inside the div only. Not the current behaviour.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.