CLOVIS
09/17/2021, 9:08 AMchild(MyClassComponent::class) {
child(SomeFunctionalComponent)
}
then, in MyClassComponent.render:
if (...) {
props.children()
}
This works fine with run
, but fails with `browserProductionWebpack`:
TypeError: _.render is not a function
The commit with the full code (1 class component + its call), the version details. Originally posted in #javascript (here) but I was redirected here.turansky
09/17/2021, 10:11 AMCLOVIS
09/17/2021, 10:16 AMandylamax
09/17/2021, 10:59 AM@JsExport
you must export your components with IRCLOVIS
09/17/2021, 11:20 AMCLOVIS
09/17/2021, 11:21 AMturansky
09/17/2021, 11:21 AMCLOVIS
09/17/2021, 1:21 PM