A federal judge has blocked a Montana law banning the popular video sharing app TikTok, finding “little doubt” that it was “more interested in targeting China’s extensible role in TikTok than with protecting Montana consumers.” The ruling, likely to be celebrated by consumers and free speech advocates alike, comes at a time when federal and state governments are grappling with how to regulate social media companies.