()
| 45 | this.portalNode.parentNode.removeChild(this.portalNode) |
| 46 | } |
| 47 | render() { |
| 48 | return ReactDOM.createPortal( |
| 49 | <Greet greeting="Hello" subject="World" />, |
| 50 | this.portalNode, |
| 51 | ) |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | function Greet({greeting, subject}) { |
nothing calls this directly
no outgoing calls
no test coverage detected