ts-transform-inferno icon indicating copy to clipboard operation
ts-transform-inferno copied to clipboard

Text nodes do not render when not wrapped

Open steveesamson opened this issue 5 years ago • 1 comments

Hello,

I recently switched to fuse-box because of my confusion with webpack and your transformer is the only hope if this transition is ever going to end in consummation.

The problem is: the fuse-box example works until you use something like:


//renders <div></div>
render(){
    return <div>Hello there!</div>
}

//this renders
render(){
    return<div>{"Hello there!"}</div>
}

In essence, blocks of verbatim html tags with unquoted textContent would render empty.

Could you check this out, this a sole hope for my project? Thank you.

steveesamson avatar Mar 29 '19 17:03 steveesamson

Honestly, I didn't see this issue. Sorry for the late reply.

I think if you update the fuse-box examp,e to use the latest ts-transform-inferno version from 4.0.0 to 4.0.2 it will work.

deamme avatar May 07 '19 06:05 deamme