🌶️ take: most #javascript code isn't suitable for multiple runtimes (sometimes ppl call this "isomorphic") and it's sort of silly to rely on compilation to get away with it.
the only exception I've seen is validation logic but that should run on backend regardless. and that's about it.
#nodejs does not have browser event handlers and it probably shouldn't anyhow.
Generating HTML/DOM nodes and validation are the only kinds of functionality I see myself using isomorphic code for.
Since validation code without any server code usually is very short, I imagine most of isomorphic code is for HTML/DOM generation, in order to gain some performance or be able to serve a no-JS version without having to code it specifically.
But I have never used node.js on server, so...