Does anyone know of a JS framework which plays nicely with Server Sent Events or WebSockets? I've tried pretty much everything so far, and it's always a colossal hack to implement, as none of them seem to have been built with anything other than CRUD in mind.
I'm really just looking for a model system that allows simple updates of objects in its identity map with data from an arbitrary source. Backbone is the closest I've found to supporting this with the least effort. I'd rather like to use Server Sent Events, as there's decent support in a variety of languages and it's pretty simple; it's just that no current frameworks seem to have been built with those sorts of technologies in mind.
I've largely resigned myself to having to hack support into anything I try.