Assertion Failed: You cannot use `attributeBindings` on a tag-less component
See original GitHub issueI’m getting this error with ember 2.8.1
and EPS 1.0.0-beta.15
:
Assertion Failed: You cannot use
attributeBindings
on a tag-less component
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (4 by maintainers)
Top Results From Across the Web
ember.js - Error: Assertion Failed: You must provide one or ...
So, your Ember version has to be => 3.10 to work. Here is a twiddle that demonstrates the usage of LinkTo component using...
Read more >Each handler is generating ember-view div around my ...
If you use the tagless component, it's important that you can not use class, classNames, classNameBindings and attributeBindings in the components class.
Read more >Component - 3.15 - Ember API Documentation
Component properties that depend on the presence of an outer element, such as classNameBindings and attributeBindings , do not work with tagless components....
Read more >Ember.js Octane vs Classic Cheat Sheet
You cannot use mixins on anything that uses native class syntax (e.g. components that import from @glimmer/component ). The migration strategy depends on...
Read more >JavaScript ember-debug assert Examples
assert ('You cannot use `attributeBindings` on a tag-less component: ' + component.toString(), (() => { let { attributeBindings, tagName } = component; ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think there’s already an issue for that in Ember Hammer Time
Finally tracked down the culprit… Sorry for the issue spam @miguelcobain!
For anybody experiencing this same issue, looks like ticketfly/ember-hook was the source of that attributeBindings error.
Upgrading from v1.3.1 to v1.3.5 fixed this.