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

Babel 6 - Template Literal issue #16

Open
oguzbilgic opened this issue Dec 13, 2016 · 3 comments
Open

Babel 6 - Template Literal issue #16

oguzbilgic opened this issue Dec 13, 2016 · 3 comments

Comments

@oguzbilgic
Copy link

someComponent = () => {
  <div style={{ backgroundImage = `url(${image})`}} />
}

Results in backgroundImage: undefined in the browser. I belive this is caused by this plugin, because removing this plugin solves the issue.

@oguzbilgic
Copy link
Author

screen shot 2016-12-12 at 4 15 19 pm 1

@dariocravero
Copy link

Thanks for the bug report. I'm super busy these days and don't know when I'll have time to look at this. In the meantime, you're welcome to submit a PR!

@oguzbilgic
Copy link
Author

I looked at the code but wasn't able to understand the internals at all. If you guide me I can give it a try again.

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