I've been out of the front-end game for a while but I'm familiar with its concepts.
I've got a couple of apps with server-rendered html pages that I want to replace with live, streaming updates.
Is implementing a web socket still the recommended way to do this for server->browser push data?Requirements:
* Active github project/support
* Easy to write and run unit tests (I have tdd/xp leanings)
* Easy integration with
web sockets (or its alternative) server-side events
Preferences:
* I like static typing / static analysis so TypeScript or PureScript based frameworks would be considered. Regular JavaScript is fine also.
* No blatant liberal messaging in the documentation, such as for the violent felonious domestic terrorist group BLM
Combinations of libraries/frameworks are fine too (don't need an all-in-one).
Some data will be slow (like updates from a monitoring app), and some will be fast and heavy (like stock options). So the framework can't be a slouch in a modern browser (luckily most browsers pre-compile JS now and we're not in the early 2010s where only Chrome did).
...edit 1: replace ws with sse
Web Sockets vs. Server Side Events...edit 2:
looks like react, vue, angular, and ember are both established and popular. React was created by Facebook, Angular by Google. Angular has political stuff on it. Not that I don't oppose Russia's invasion, but if they're political about one thing they'll be political about something else too later.
I think I'm going to give vue.js a shot.
What are people's experiences with vue.js - particularly with automated / unit testing? What kind of testing frameworks and runners should I be looking at if I want to run tests with Jenkins or TeamCity or something else?