We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@ember/render-modifiers was created as a legacy upgrade utility for people who had a large amount of classic Ember components. It is never appropriate for new code. It should not be recommended in the guides. https://guides.emberjs.com/release/components/template-lifecycle-dom-and-modifiers/#toc_calling-methods-on-first-render
@ember/render-modifiers
The text was updated successfully, but these errors were encountered:
Additionally, the docs should not be recommending mutating tracked data in getters. This is a great way to cause infinite revalidation errors.
import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; export default class TextComponent extends Component { @tracked _value; get value() { if (this.args.disabled) { return (this._value = ''); } return this._value; }
it seems that page is overly focused on keeping pre-octane idioms, rather than "given what you're used to, this is how you do X is a new app".
Sorry, something went wrong.
No branches or pull requests
@ember/render-modifiers
was created as a legacy upgrade utility for people who had a large amount of classic Ember components. It is never appropriate for new code. It should not be recommended in the guides. https://guides.emberjs.com/release/components/template-lifecycle-dom-and-modifiers/#toc_calling-methods-on-first-renderThe text was updated successfully, but these errors were encountered: