ember-render-modifiers icon indicating copy to clipboard operation
ember-render-modifiers copied to clipboard

Implements did-insert / did-update / will-destroy modifiers for emberjs/rfcs#415

Results 19 ember-render-modifiers issues
Sort by recently updated
recently updated
newest added

[RENDERED](https://github.com/achambers/ember-render-modifiers/blob/patch-1/README.md) I recently gave a talk at EmberFest to describe the rationale and history of these modifiers, why they are considered an anti-pattern today and, most importantly, what the alternatives...

Currently the peer dependency is `^3.8 || 4` which I guess does not cover e.g. `4.1.0`?

~~This addon is already in ember-auto-import v2 so it should not be a breaking change.~~ :warning: This is breaking change Yes this addon is already ember-auto-import v2 but ember app...

e.g. in the example given in the code comments, the `this.count` is not updated in the template... https://github.com/emberjs/ember-render-modifiers/blob/master/addon/modifiers/did-insert.js#L29 in the callstack i see that `installModifier` is called with a `untrack`...

Fixes #23. When the passed `fn` to the helper is not a function, this commit improves the error message users will see, hopefully helping with the debugging process. First time...

![image](https://user-images.githubusercontent.com/1360552/95439798-c7e33a00-0960-11eb-87e3-057c66f0bf9f.png) If passed fn for `did-insert` is not an function, it's literally udebuggable across application (there is no mentions of key name, component name, closest dom node and such)

Using modifiers on an element that is itself a classic Ember component (`@ember/component`) doesn't seem to work. This poses difficulties because the developer now has to 'know' :godmode: what the...

- Asserts an error then the function passed to `did-insert`, `did-update` and `will-destroy` is not a function. - Today the error is `fn must be a function` `fn` has another...

In the process of rewriting components to Octane and using modifiers I ran into timing issues when didRender could no longer be used. The component in question renders text and...

As Node 10 is coming up on EOL, I tried to update my project to Node 14 (and 12). In both cases, when I did, I got the following build...