-
justmarkup I actually just came away from your article. It's not new but it's still worth talking about. That kind of code was being used in jQuery heyday, $('a[target^="#"]').click(() => $(this.target).load(this.href)). Server would have handler for XMLHttpRequest header –
-
justmarkup —and if it was present, would respond with the "body of the view" rather than the full HTML (i.e. including header + footer). I used the technique a lot back … gosh… well over 10 years ago 😱(but again, I think it's a good technique and worth discussing)