From 2216eece66323f8cf1e909870dd9e68826f321fb Mon Sep 17 00:00:00 2001 From: Godfrey Chan Date: Tue, 5 Mar 2019 19:49:55 -0800 Subject: [PATCH 1/7] Angle Bracket Invocations For Built-in Components --- .../0459-angle-bracket-built-in-components.md | 257 ++++++++++++++++++ 1 file changed, 257 insertions(+) create mode 100644 text/0459-angle-bracket-built-in-components.md diff --git a/text/0459-angle-bracket-built-in-components.md b/text/0459-angle-bracket-built-in-components.md new file mode 100644 index 0000000000..0514a13d76 --- /dev/null +++ b/text/0459-angle-bracket-built-in-components.md @@ -0,0 +1,257 @@ +- Start Date: 2019-03-05 +- Relevant Team(s): Ember.js +- RFC PR: https://github.com/emberjs/rfcs/pull/459 +- Tracking: (leave this empty) + +# Angle Bracket Invocations For Built-in Components + +## Summary + +[RFC #311](./0311-angle-bracket-invocation.md) introduced the angle bracket +component invocation syntax. Many developers in the Ember community has since +adopted this feature with very positive feedback. This style of component +invocation will beomce the default style in the Octane edition and become the +primary way component invocations are taught. + +However, Ember ships with three built-in components – `{{link-to}}`, `{{input}}` +and `{{textarea}}`. To date, it is not possible to invoke them with the angle +bracket syntax due to various API mismatches and implementation details. + +This RFC proposes some small admenments to these APIs and their implementations +to allow them to be invoked with the angle bracket syntax, i.e. ``, +`` and `