One of the things I have long said is that we need to address bigotry as a problem, not just the latest form of bigotry which is receiving attention.
There is now a proposal in the UK for a law to do exactly that (well, pretty close to that) for social media.