The loss of North Shropshire couldn't be put down to NIMBYism.
Neither could Chesham and Amersham entirely. Theresa May did sum it up very well, the wrong houses in the wrong places - expensive 'executive' detatched when family homes are required, with the basic infrastructure of schools, doctors surgeries, and bus services, which always get promised but don't materialise.
But the aim in places like that will be to pick up the moderate centrist Tories, who are never going to vote Labour themselves, but would be OK with a Labour Government with a very small majority led by Starmer.