« All deprecation guides
Deprecation Guide for Ember.observer
until: 7.0.0
id: deprecate-import-observer-from-ember
Previously, observer
could be accessed via the Ember
import:
import Ember from 'ember';
Ember.observer
If needed, observer
can be imported:
import { observer } from '@ember/object';