In the kotlin react demo projects i see both
fun RBuilder.someComponent(){...}
and
fun RDOMBuilder<*>.someComponent(){...}
What is the difference between these two?
In the kotlin react demo projects i see both
fun RBuilder.someComponent(){...}
and
fun RDOMBuilder<*>.someComponent(){...}
What is the difference between these two?
Copyright © 2021 Jogjafile Inc.
RDOMBuilderis part of the kotlin-react-dom wrapper, whereasRBuilderis part of the kotlin-react wrapper. Depending on what library you want to use, the one or the otherBuildermay be used.