-
-
Notifications
You must be signed in to change notification settings - Fork 406
Closed
Description
Basically deprecate and remove this file: https://github.com/emberjs/ember.js/blob/aeef923e9f5f7dde2bc43fcdddabc4a3b98769ec/packages/ember-template-compiler/lib/plugins/transform-old-class-binding-syntax.ts
TL;DR deprecate passing classBindings and classNameBindings as arguments when doing curly component invocations, i.e. instead of {{my-component classNameBindings="foo:bar:baz"}}, write {{my-component class=(if this.foo "bar" "baz")}}, or better yet, <MyComponent class={{if this.foo "bar" "baz"}} />.
Note that classBindings and classNameBindings already does not work on angle bracket invocations.
Reactions are currently unavailable