Feedback in low-mass galaxies in the early Universe