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