Repository URL to install this package:
|
Version:
3.0.10 ▾
|
| .. |
| Portal.tsx |
| README.md |
| deps.ts |
| index.ts |
| typings.ts |
this was in render, but with the componentDidMount, it likely 99% is never hit
/** * @todo this is unused since isComponentMounted never happens? * @note - HUGE perf diff here when it returns children * otherwise, it does not serverside render */ if ( canUseDOM === false || process.env.NODE_ENV === 'test' || process.env.IS_SSR_TEST ) { return ( <div id={this.props.id || 'portal'} className={this.className}> {this.props.children} </div> ) }