Skip to content

Allow tagged templates to refer to a 'service api' for XML templates #2759

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

Closed
jbondc opened this issue Apr 14, 2015 · 1 comment
Closed

Allow tagged templates to refer to a 'service api' for XML templates #2759

jbondc opened this issue Apr 14, 2015 · 1 comment

Comments

@jbondc
Copy link
Contributor

jbondc commented Apr 14, 2015

Evangelism

@paulvanbrenk
Copy link
Contributor

On the page where the JSX spec is discussed, they have a whole paragraph on why template literals are a bad idea. Long story short, your code gets very complex very quickly and is hard to follow. [0]

In general TypeScript always had the philosophy that all JavaScript is valid TypeScript, so our implementation of the JSX support should follow that philosophy and not force users to convert all their code.

[0] http://facebook.github.io/jsx/#why-not-template-literals

@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants