Host-parasite dynamics set the ecological theatre for the evolution of state- and context-dependent dispersal in hosts