By enhancing HTML with smarter interactive elements you can combine the interactivity advantages of single-page applications with a declarative, hypermedia-driven (i.e. RESTful) architecture.

Some libraries that support this approach: