From 31d797c225d874cdc5d07e4b87d85ebbab2ef2e9 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Fri, 11 Jul 2025 14:13:43 -0400 Subject: [PATCH 1/4] Update template-tag-format.md --- guides/release/components/template-tag-format.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/guides/release/components/template-tag-format.md b/guides/release/components/template-tag-format.md index 6754e4cfec..7b86cde3d7 100644 --- a/guides/release/components/template-tag-format.md +++ b/guides/release/components/template-tag-format.md @@ -259,6 +259,18 @@ export default CustomSelect; This can be a powerful refactoring technique to break up large components into smaller ones. (where it makes sense!) +## Runtime compiler + +```gjs +import { template } from '@ember/template-compilation'; + +const hello = 'Greetings'; + +export default template(`{{hello}}`, { + scope: () => ({ hello }), +}); +``` + ## Testing Historically, Ember's integration tests have been written using the `hbs` tagged template literal. This is no longer necessary with the template tag format. Instead, use the `