Somatic reversion of pathogenic DOCK8 variants alters lymphocyte differentiation and function to effectively cure DOCK8 deficiency.