render-on-demand
React component that returns children once after DOM render request.
Puppeteer tests @ specs/index.spec.ts
Example
<style>` input:not(:checked) ~ * { display: none; }`</style><input ="checkbox"/><RenderOnDemand> <div ="child">a</div> <div ="child">b</div></RenderOnDemand>
.child
will not appear in DOM until input is checked for the first time.