From 57c174c3bc8bbf162bdf958f1eb65b80325f1808 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Fri, 22 Dec 2023 14:02:13 -0500 Subject: [PATCH 1/8] Make fn built in --- text/0000-make-fn-built-in.md | 84 +++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 text/0000-make-fn-built-in.md diff --git a/text/0000-make-fn-built-in.md b/text/0000-make-fn-built-in.md new file mode 100644 index 0000000000..73e1cf60f1 --- /dev/null +++ b/text/0000-make-fn-built-in.md @@ -0,0 +1,84 @@ +--- +stage: accepted +start-date: # In format YYYY-MM-DDT00:00:00.000Z +release-date: # In format YYYY-MM-DDT00:00:00.000Z +release-versions: +teams: # delete teams that aren't relevant + - cli + - data + - framework + - learning + - steering + - typescript +prs: + accepted: # Fill this in with the URL for the Proposal RFC PR +project-link: +suite: +--- + + + +# + +## Summary + +> One paragraph explanation of the feature. + +## Motivation + +> Why are we doing this? What use cases does it support? What is the expected +outcome? + +## Detailed design + +> This is the bulk of the RFC. + +> Explain the design in enough detail for somebody +familiar with the framework to understand, and for somebody familiar with the +implementation to implement. This should get into specifics and corner-cases, +and include examples of how the feature is used. Any new terminology should be +defined here. + +## How we teach this + +> What names and terminology work best for these concepts and why? How is this +idea best presented? As a continuation of existing Ember patterns, or as a +wholly new one? + +> Would the acceptance of this proposal mean the Ember guides must be +re-organized or altered? Does it change how Ember is taught to new users +at any level? + +> How should this feature be introduced and taught to existing Ember +users? + +## Drawbacks + +> Why should we *not* do this? Please consider the impact on teaching Ember, +on the integration of this feature with other existing and planned features, +on the impact of the API churn on existing apps, etc. + +> There are tradeoffs to choosing any path, please attempt to identify them here. + +## Alternatives + +> What other designs have been considered? What is the impact of not doing this? + +> This section could also include prior art, that is, how other frameworks in the same domain have solved this problem. + +## Unresolved questions + +> Optional, but suggested for first drafts. What parts of the design are still +TBD? From 575f5ee3f149e40e5f28d76b90931f5fa2560cea Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Fri, 22 Dec 2023 15:16:23 -0500 Subject: [PATCH 2/8] Write --- text/0000-make-fn-built-in.md | 86 +++++++++++++++++++++-------------- 1 file changed, 51 insertions(+), 35 deletions(-) diff --git a/text/0000-make-fn-built-in.md b/text/0000-make-fn-built-in.md index 73e1cf60f1..e51fa6a2ca 100644 --- a/text/0000-make-fn-built-in.md +++ b/text/0000-make-fn-built-in.md @@ -1,17 +1,14 @@ --- stage: accepted -start-date: # In format YYYY-MM-DDT00:00:00.000Z +start-date: 2023-12-22T00:00:00.000Z release-date: # In format YYYY-MM-DDT00:00:00.000Z release-versions: teams: # delete teams that aren't relevant - - cli - - data - framework - learning - - steering - typescript prs: - accepted: # Fill this in with the URL for the Proposal RFC PR + accepted: https://github.com/emberjs/rfcs/pull/998 project-link: suite: --- @@ -30,55 +27,74 @@ project-link: Leave as is suite: Leave as is --> -# +# Make `(fn)` a built in helper ## Summary -> One paragraph explanation of the feature. +Today, when using gjs/gts/`