-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Quest: First-Class Component Templates #33
Comments
Thanks as well to @wycats, @bmish, and @rwjblue for helping get those various efforts across the line. I’ll make sure we follow up on this in one of the next few Framework Core team meetings—this is amazing progress, and represents a huge step toward stabilizing this and eventually making it the recommended way of writing Ember templates. (Keep your eyes open for code-mods coming soon™!) |
A status update here is that
|
@ef4 Do we have an updated checklist on this? |
|
couple clarifying questions:
where to do this?
pre-polaris? if so, this would be a good thing to start soon, given all the implementation stuff is done? (this is a really big given.) |
Adding support for generating .gjs/.gts components is also one of the remaining todos. There is an open PR already: emberjs/ember.js#20511 |
The path to making RFC emberjs/ember.js#779: First-Class Component Templates stable and recommended for end users.
What even is this?
Background
RFC emberjs/ember.js#779: First-Class Component Templates picked
<template>
tags as the the ability for Ember (and Glimmer) developers to write components withtemplate
tags embedded in their JS, like so:This is not only a general win for ease of working with Ember: it is also a key part of our TypeScript story, because it makes things like go-to-definition, documentation hovers, autocomplete, auto-import, etc. all much easier to manage. So: what do we need to do to finish unblocking its adoption?
The Road to Stable
See ember-cli/ember-template-imports#35 for details on each part of this.
The Road to Recommended
ember-template-imports
ember-template-imports
into Glimmer, with Ember being a customerThe text was updated successfully, but these errors were encountered: