I see that both share almost the same properties & functions so what is the main difference for these two?
That question is addressed here: https://github.com/marionettejs/backbone.marionette/wiki/Use-cases-for-the-different-views
In short, you'll want to use CompositeView if you want to wrap a template around the collection (ex: a list with a header and footer). CollectionView doesn't know how to render a template.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With