We've lost just under 20% off GBP vs USD since the vote went to Leave from the anticipated Remain.
China's an export economy, no? So, devaluing helps to buoy production for export, keeping people in work. Seems to be how China does things: I'm thinking of all those ghost cities they build.