← Back to Upcase

Handling links in Backbone


(Yaro ) #1

What is the best practice for handling links in a Backbone app?

a) Should each view listen to a click event for links rendered by itself?
b) Or should there be a global click event listener attached to, say, document, that intercepts all link clicks and executes Backbone.History.navigate with their href?