What Republicans should have learned, but haven't.