Skip to content

Conversation

@dfreeman
Copy link
Member

This PR deprecates the localClassNames and localClassNameBindings properties on Ember.Component subclasses, as well as the @localClassName and @localClassNames decorators that can be used as sugar for the same.

These APIs rely on reopening the Ember.Component base class, which is deprecated as of emberjs/rfcs#671, and they also belong to the pre-Octane programming model for Ember applications, since Glimmer components have no implicit root element for those APIs to even operate on. Accordingly, we'd like to drop them for ember-css-modules@2.

The changelog contains further details and several different recommendations for ways of migrating off of these APIs.

Copy link
Contributor

@jamescdavis jamescdavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@dfreeman dfreeman merged commit f9f4815 into master Jul 6, 2021
@dfreeman dfreeman deleted the deprecate-classic-component-apis branch July 6, 2021 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants