Contextual modifiers and helpers not supported?
See original GitHub issueEmber 3.27 introduced the (modifier)
and (helper)
helper counterparts to (component)
. Using (modifier)
in an addon to yield a contextual modifier works in non-Embroider and the “safe” scenario, but fails in “optimized” mode with Missing helper: modifier
.
It seems this new feature is not properly supported yet? I guess we need similar special treatment for these as we have for the component helper?
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Contextual Helpers and Modifiers (a.k.a. "first-class helpers ...
The new helper and modifier helpers need be be added to the API docs. We should consider cross-linking between the helper , modifier...
Read more >[Bug] The `on` modifier does not work with the `modifier` helper
It seems that all helpers and modifiers that come from Glimmer don't work with the contextual helpers. The error is thrown from the...
Read more >EmberJS on Twitter: "Contextual helpers and modifiers extend ...
Contextual helpers and modifiers extend Ember's existing API for passing or yielding components with closed-over arguments. They allow you to ...
Read more >Conditional Modifiers and Helpers in Ember - Chris Krycho
Ember.js 3.27 introduced the helper and modifier helpers to complement the component helper, allowing for conditional application of helpers ...
Read more >Difference between modifier and helper in Ember JS
A helper is "just a function" that can be invoked from templates.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think you are right, so I reopened this issue!
As of the 1.4.0 release both these helpers should now be fully supported. 🎉