Template-Only Components - Uses, future ideas, possibilities, discussion, etc

One more idea - allow developers create “inline” template-only components https://github.com/lifeart/ember-cli-inline-template-only-components for single-usage case, MVP, debug.

I asked github team about hbs`` highlighting:

We use open source TextMate-style language grammars for syntax highlighting, which are available here:

Here’s the grammars we’re using for JavaScript and TypeScript:

Linguist pulls in grammar updates with each new release, which usually happens every couple of weeks.

I can definitively assert that:

  • template tags: I don’t mind it. Not a big fan but I can live with it.
  • JSX like syntax: I hate it!

Disclaimer: I am not a fan of embedded stuff. I like my JS and my HBS separate files. The only exception I have is in tests. I will even separate my <script> and <style> tags into scratch files to get the isolation and merge it back into a single HTML file. (Yes I do this manually).

K.I.S.S. Just as it has been with source code and editors since dumb terminal days. There, some $0.02