Skip to content

Deprecate localClassNames and friends #241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2021

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.

2 participants