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