Repository navigation
[DOC] Remove the classic Component from API docs of non-deprecated APIs - #21790
Merged
NullVoxPopuli merged 2 commits intoNov 17, 2026
Merged
NullVoxPopuli merged 2 commits into
NullVoxPopuli merged 2 commits into
Conversation
RFC emberjs#1216 deprecates the classic `Component` from `@ember/component`. API docs for APIs that are not deprecated still used it in examples. They now use `@glimmer/component` in gjs style, or drop the reference. - runInDebug, bind, next/scheduleOnce, RouterService#recognize: examples rewritten to Glimmer components. - Glimmer Component class docs: no more didInsertElement or this.element. - ApplicationInstance isBrowser: mention modifiers, not didInsertElement. - concatenatedProperties and extend: use Controller queryParams, remove the Component.extend example. - Textarea: remove the classic layout/layoutName section. - associateDestroyableChild and the yield Banner example: import Component from @glimmer/component. - @glimmer/component module intro: say classic components are deprecated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
11 of 15 tasks
kategengler
approved these changes
Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
API doc examples on APIs that are not deprecated no longer use the classic
Componentfrom@ember/component, which #21630 deprecated (RFC 1216).runInDebug,bind,next,RouterService#recognize: examples rewritten as Glimmer components.ApplicationInstanceboot options: "does not rundidInsertElement" now says "does not install element modifiers".concatenatedProperties: usesController#queryParamsas the example, notclassNames.EmberObject.extend: drops theComponent.extendexample.@glimmer/component: the lifecycle docs no longer showdidInsertElementwith jQuery, and the module intro says classic components are deprecated.destroyableandyieldexamples: add the missing@glimmer/componentimport.Left for a decision: the
readonlyhelper docs. The helper only matters for classic components, so it needs its own deprecation or a rewrite.Checks:
pnpm lint:docs,pnpm type-check:internals, eslint and prettier pass.🤖 Generated with Claude Code