How do you pass children props to a class componen...
# javascript
c
How do you pass children props to a class component in Kotlin React? Currently, I'm doing:
Copy code
child(MyClassComponent::class) {
  child(SomeFunctionalComponent)
}
then, in MyClassComponent.render:
Copy code
if (...) {
  props.children()
}
This works fine with
run
, but fails with `browserProductionWebpack`:
Copy code
TypeError: _.render is not a function
b
probably best asked in #react
c
Probably, thanks!