Closed designermonkey closed 7 years ago
I'm pretty confident this will be settled using custom renderers in the future and should not be an option on the view. The user will have to be aware per render on how it will interact with default backbone.view behavior, but it won't be Marionette itself modifying this. We can re-open if someone disagrees.
One thing I find increasingly annoying about Backbone is it's penchant for wrapping everything in a
div
. While usingLayoutManager
for a short time, I liked how a developer could set theel
of aView
tofalse
, so as to tellLayoutManager
to use the provided template as theView
sel
.IMO, this should be a part of
Marionette
also. There is already the option to pass false totemplate
to disable it, so would follow suit in that regard.It would be optional and defaulted to the current behaviour to not break any backwards compatibility.
From what I can see of the source code, it's not easily something that can be monkey patched in an extension of
View
either, although I am really going to try.Any thoughts?