ember.js
ember.js copied to clipboard
Deprecate Classic (specifically Ember.Object)
Idea: "pay as you go"
Goals
- reduce the API surface for idiomatic Polaris apps
- reduce the size of minimum viable payload for Ember apps
- eliminate the entanglements that reduce the benefits of tree-shaking
Tasks
- [ ] identify list of classic features that are still mandatory dependencies
- [ ] Router
- [ ] Services
- [ ] create an RFC issue that identifies the classic features that are mandatory dependencies and require a deprecation RFC.
- [ ] craft an RFC (one RFC? series of RFCs where deps are grouped somehow? one RFC per dep?)
- [ ] create discreet task based on RFC, identifying dep to be removed and its replacement/alternative approach
Supporting Notes
- by the time we get to Polaris, no classic feature should be included in
ember neworember addon - If that's bc the files are removed, or if it's because treeshaking, remains to be seen.
If you are interested in leading/owning this work, please reach out to me on Discord!
One way to meet this requirement is to ship ember-source as a v2 addon. V2 addons necessarily shake out unused modules.
(Becoming a v2 addon probably also involves ember-source itself reorganizing some things that are unnecessarily tangled.)
This is likely descoped from Polaris.