so the developer should make a click handler for all links with a class he decides are outgoing and preventDefault on that? that seems like a weird api.

If you supply a linkSelector this is all taken care of for you.