1 min readSep 24, 2019
That’s a good point that backtick literals will not work in Internet Explorer and older devices, including Windows phones!
Thanks for sharing Zsolt Nagy-Perge !!!
A great reference for compatibility is CanIUse.com, which clearly shows in the image above that IE and older browsers are not supported.
Another option would be using Babel to compile the code — this would actually replace all the backticks automatically.
I wrote about how Babel compiles template literals in this article: