And furthermore, even nuclear bombs had a plausible ethical use (end the war sooner).
And furthermore, even nuclear bombs had a plausible ethical use (end the war sooner).
If Facebook is 100% evil, then it behooves the workers to work for a less evil company, at a minimum. Of course, Facebook itself isn't 100% evil so things break down in your example.
If you're a React.js developer and you're worried about internet privacy, intrusive ad-tech being used to track people (etc. etc.), then maybe... just maybe... you should find something else to work on in a company that matches your ethics better.
Some things have no real ethical use.
At least in some cases inventors are unethical to invent some things.
Or working on better ads for scammers.
Or trying to invent legal loophole to enable something evil.
Could they have been used in another manner? Yes. But we all know what the intent was, and any engineer who worked on that project knew damn well what was going on.