Lamdera might be the best incarnation of "isomorphic" code I've had an experience with. Game logic shared in both frontend and backend (of course, backend has to validate everything as somebody could spoof the WebSocket connection), not going out of sync, types reused.
Also, one of two best experiences I've had with backends (I'm a frontend person): the second one was Dark language (http://darklang.com)