ember-learn / guides-source

This repository contains the Ember.js Guides
https://guides.emberjs.com/
MIT License
158 stars 497 forks source link

Document new and improved helper functions experience #1881

Open jenweber opened 1 year ago

jenweber commented 1 year ago

Excellent news - helpers are now much more intuitive to use in Ember! The feature shipped quietly, and now that it's had some additional testing, we should document it and invite all our developers to start using it!

This issue blocks advancing this RFC: https://github.com/emberjs/rfcs/pull/866

How to help:

Excerpt from "how we teach this":

On the Helper Functions page, We'll want to insert a section early on about how helpers can be "local" to or defined on components and controllers. Then, once there have been examples of the local/private helper, the existing content can continue to talk about the "global helper" -- explicitly differentiating between the local/private helper, rather then retaining the general "Helper Function" title as "Helper Functions" are all of these, rather than just the globally defines ones.

SkoebaSteve commented 1 year ago

As discussed I'll take this and will create a PR by next week, thanks for the introduction @jenweber!