Does anyone have some idea how to use createPortal in kotlin-react for example to render a modal? i have tried several ways and nothing is working. I´m new at Kotlin. Here is one way i tryed:
its just how its working in good old TS and i tried to transfer it to kotlin-react but createPortal seems to do nothing in this case.
It would be nice if some could give me an example of how implement this example correct in react-kotlin.