EmberFest, Paris, Day 1, Sept 22, 2022
The ember-render-modifiers README states that the modifiers are “very useful for quickly bridging the gap between classic components and Glimmer components, but they are still generally an anti-pattern.” It also says that you should “rethink your functionality rather than use these modifiers as a crutch.”.
However, the README doesn’t give any real guidance on what we should do instead.
In this talk I’m explain why these modifiers are problematic and explore the two main use cases I’ve seen ember-render-modifiers used for and how we can go about replacing them with modern Ember patterns that will set us up for success in the future. And finally, after this talk, we’ll have a resource to which we can point future engineers when they scratch their heads about how to avoid these modifiers.