Skip to content

IE11 Template string issue #152

@raultomescu

Description

@raultomescu

Describe the bug
IE11 throws an 'Invalid character' error because template strings do not work - https://caniuse.com/#search=template%20strings

To Reproduce
Bundle react-trello and run it in IE11

Expected behavior
It should work

Screenshots
https://imgur.com/a/D1AspSW (the error is thrown at injectGlobal`). I don't have a screenshot of the error but it's just an uncaught exception.

Desktop (please complete the following information):
Windows 7 / IE11

You can try using the transform template literals babel plugin to fix it (I am not sure if it's you or styled-components that should implement the fix)
https://babeljs.io/docs/en/babel-plugin-transform-es2015-template-literals

Thanks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions