[require-super-in-lifecycle-hooks] False negative with Glimmer components?
See original GitHub issueOverriding willDestroy
in a Glimmer component and not calling super.willDestroy
should lead to a linter warning… perhaps? Not sure if it is “mandatory” to call the super method?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Glimmer Components - Octane Upgrade Guide - Ember Guides
For this section, we'll be focusing on the differences between the new style, known as Glimmer components, and classic components, and how to...
Read more >Pass attributes to glimmer components when using ... - GitHub
This looks like a missing piece to achieve parity between "ember and glimmer" components when using the (component) helper. With angle brackets and...
Read more >Dynamically determine existence of template only Ember ...
The component doesn't seem to be registered in that case. Does anyone know a solution that would work for template-only glimmer components too?...
Read more >Simpler and more powerful components in Ember Octane with ...
Ricardo Mendes explains how Glimmer components provide a simpler and clearer, yet more powerful, component layer for Ember Octane ...
Read more >Unit-testing Glimmer Components - Tim G. Thomas
Most of my Ember projects use a large number of component unit tests, so this was a bummer to discover: I'd have to...
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
@boris-petrov updated rule to catch
willDestroy
in both glimmer and non-glimmer components.Actually, it looks like classic components do have a
willDestroy
too: https://api.emberjs.com/ember/3.22/classes/Component/methods/willDestroy?anchor=willDestroy