back

by tobr·10y ago·view on hn ↗
One less dependency is always a good thing. The fact that template strings are part of the standard is a big advantage; any current or future tools that support ES6 will automatically support your templates as well.
1 comments
> One less dependency is always a good thing

I think the parent's point is that to use template strings today one would have to use Babel, which already supports JSX. Thus the number of dependencies is the same in all scenarios: Babel + virtual-dom, or Babel + T7.

That's not necessarily true with Babel 6. The new modular approach requires that you explicitly list which plugins you want Babel to use. So for JSX, you'd need to have `babel-plugin-syntax-jsx` as a dependency.