"Mob justice" prevails because in the USA the government will not penalize purveyors of hate speech.
If you don't want "mob justice", START REGULATING SPEECH ONLINE. Vote in leftists who will protect the marginalized by silencing the powerful when their speech becomes oppressive.
Or deal with the fallout when those marginalized take matters into their own hands because the law doesn't shield them.