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