Even before last Friday’s executive order on immigration, lawyers told Tim Wilson not to bother hiring a Vietnamese national—an expert in “nanoscale structured material”—for a Silicon Valley startup.

The reason? Given the uncertainty around immigration policy under President Donald Trump, it was better to wait, they said.

“What ultimately...