I had this issue today and solved it by now. For t...
# react
m
I had this issue today and solved it by now. For the record,
createPortal
returns a
ReactElement
. We’re responsible for adding it as a child:
Copy code
child(createPortal(element) {
	props.children()
})
🙂 1