« All deprecation guides
Deprecation Guide for Ember.destroy
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';