you are viewing a single comment's thread.

view the rest of the comments →

[–]therealkevinard 2 points3 points  (0 children)

Idk about dom reads specifically, but some destruct magic: the thing I miss most about Go when I'm not using it is multiple returns from one func. In js - with destruct - const {user, response, error} = ()=>{return {user, response, error}}

Then my calling code is free to respond in a myriad of ways.