The union can force an all-or-nothing decision, but some companies can and will easily choose "nothing" and keep only the overseas developers, not the local unionized ones.
There are a lot of anti-unionists and Libertarian minded programmers in the US.