I’m migrating an Ember app to 2.7, and hence need to get rid of uses of Ember.View.
I have a bunch of places in the app where I use the Route’s
render method to render some template into an
The rendered template typically also have a view associated with it, which is where I customize it’s tagName, class, etc.
Now, if I can’t use Views any more, what are my options?
- If I try to introduce a component, i.e just using my template to render some other component - then I get a wrapper ‘div’ which I can’t control, right?
- I tried to just change my view.js file to be a component class instead of view… as far as I can tell - it works. But it really doesn’t feel right…
So what is the correct way of doing this now?
In other words, how do I customize a template’s wrapper tag without views?