Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
mkosm
02/17/2022, 1:03 PM
oh well, it was worth a try
t
turansky
02/17/2022, 1:16 PM
For class component:
Copy code
fun main() {
render(
App::class.react.create(),
document.getElementById("root"),
)
}