« All deprecation guides
Deprecation Guide for Ember.mixin
until: 7.0.0
id: deprecate-import-mixin-from-ember
Previously, mixin could be accessed via the Ember import:
import Ember from 'ember';
Ember.mixin
mixin is also private.
If needed, mixin can be imported:
import { mixin } from '@ember/object/mixin';
However, due to mixin being private, it is not recommended, nor supported.