Template only glimmer components not working in 3.2?
See original GitHub issueSeems that in 3.2 template-only-glimmer-components do not work.
Steps to reproduce:
- Enable
template-only-glimmer-componentsfeature toggle - Create a new component
- Add some content to template
- Remove the component js file
- See that rendered HTML still has
ember-viewdiv wrapper
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (7 by maintainers)
Top Results From Across the Web
Glimmer Components - Octane Upgrade Guide - Ember Guides
In Octane, template-only components have only an hbs file and no JavaScript file. Since Octane, a template-only component shares a subset of features...
Read more >could not find module `@glimmer/component` when adding ...
This causes the error Could not find module @glimmer/component imported from ember-quickstart/components/people-list . There is no build error, ...
Read more >Components - ember-cli-typescript
Glimmer Components are defined in one of three ways: with templates only, ... Don't let that stop you, though: types in your component...
Read more >ember-in-viewport - NPM Package Overview - Socket - Socket.dev
Lazy loading responsive images (see dummy-artwork for an example artwork component). Visit http://localhost:4200/infinity-modifier to see it in action ...
Read more >Glimmer: Blazing Fast Rendering for Ember.js, Part 1
Components should become first-class primitives of the rendering engine, allowing for runtime optimizations. Templates are just a ...
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 Free
Top 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

Thanks for the reproduction @dpatz, sorry I missed that.
I’ll try to test that out and see if I can spot what’s going on…
@nightire For my issue you’re 100% correct. Seems that my use of
ember-cli-notificationswas pulling inember-css-modules, which was breaking my template-only components.Adding this to my package.json fixed it for me: