We discussed this in the core team meeting today, and are happy with the direction of this RFC. There was one requested change, which is that we should have a more thorough "How we teach this section". Specifically:
-
It should have the prose that should be added to the deprecation guide itself, including before and after examples
-
Currently, we do not use
tryInvokein the Ember guides. However, it's a common question that new Ember users are asking, especially with Ember Octane now that actions are passed down directly as functions. We should add a section to the guides which uses optional chaining to demonstrate how to handle optional actions. This could be added to the actions section of the Component guides, and some prose for this would be good to add here.
Once those are addressed we can review it again. Thanks again for working on this!