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