Skip to content

Commit 8d88069

Browse files
Update 1003-deprecation-import-ember-from-ember.md
1 parent 84f03ac commit 8d88069

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

text/1003-deprecation-import-ember-from-ember.md

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ This RFC proprosing deprecating all APIs that have module-based replacements, as
3939

4040
The `import Ember from 'ember';` set of APIs is implementn as a barrel file, and properly optimizing barrel files [is a lot of work, requiring integration with build time tools](https://vercel.com/blog/how-we-optimized-package-imports-in-next-js).
4141

42+
**If anyone one dependency in an app's dependency tree does `import ... from 'ember'`, every feature of the framework is shipped to your users, without any ability for you to optimize.**
43+
4244
By removing this set of exports, we have an opportunity to shrink some apps (as some APIs are not used), improving the load performance of ember apps -- and we removing all of these gives us a chance to have a better grasp of what we can get rid of permananently.
4345

4446
Many of these APIs already have alternatives, and those will be called out explicitly in the _Transition Path_ below.

0 commit comments

Comments
 (0)