right now I'm actually building a library that gives a few simple macros in elixir that expand at compile time into javascript which essentially says "watch this chunk of html" and also "serialize and send this data back on this action" and then it send back the serialized data in the scope so I can realtime react via websockets and push up the new html

it's actually crazy how much faster websockets are than even http req's for json

and hopefully this library will bring javascript back to the good old days of just using jquery for enhancing UX rather than moving state around on the client