ember.js icon indicating copy to clipboard operation
ember.js copied to clipboard

Deprecate Classic (specifically Ember.Object)

Open MelSumner opened this issue 2 years ago • 3 comments

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

  1. by the time we get to Polaris, no classic feature should be included in ember new or ember addon
  2. If that's bc the files are removed, or if it's because treeshaking, remains to be seen.

MelSumner avatar Jun 13 '23 17:06 MelSumner

If you are interested in leading/owning this work, please reach out to me on Discord!

MelSumner avatar Jun 13 '23 17:06 MelSumner

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.)

ef4 avatar Jul 07 '23 18:07 ef4

This is likely descoped from Polaris.

kategengler avatar Jun 10 '24 18:06 kategengler