Full tree rendering without a DOM
Open
enhancement
feature request
- Dominant language
- JavaScript
- Stars
- 19.8k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
We could implement a renderer that was like shallow in terms of lifecycle, and never actually attached to the DOM, but unlike shallow - rendered all the way down to leaf nodes:
```
function B(props) {
return (
B
{props.children}
);
}
function A(props) {
return (
A
{this.props.children}
);
}
const wrapper = renderFull(Root);
wrapper.debug();
```
would output:
```
B
A
Root
```
(with a better name than `renderFull` of course)
Contributor guide
Assessment
This issue has not been assessed yet.