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