Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text nodes do not render when not wrapped #16

Open
steveesamson opened this issue Mar 29, 2019 · 1 comment
Open

Text nodes do not render when not wrapped #16

steveesamson opened this issue Mar 29, 2019 · 1 comment

Comments

@steveesamson
Copy link

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.

@deamme
Copy link
Owner

deamme commented May 7, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants