From resistance to coexistence