Skip to content

Feature Request: Migration for ngClass and ngStyle to class and style #61661

@coder-ashwin

Description

@coder-ashwin

Which @angular/* package(s) are relevant/related to the feature request?

core

Description

https://next.angular.dev/style-guide#prefer-class-and-style-over-ngclass-and-ngstyle

With the new style guide informing us to prefer class and style over ngClass and ngStyle, it does make sense and all our developers are now doing it for newer components.

It would also be great to have a migration which can change it for all the existing places.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions