I think what Thatcher did at the time was probably the correct move. It was the way she did it that was bad. Ultimately, if you are going to take peoples jobs away, you need to offer them alternatives, which she didn't.
At that point in time the UK needed to transition from an economy where people bang stuff with hammers to a more advanced service based one, software, fintech etc. That is the only way to add value, because labour costs for manufacturing in foreign countries undercut ours considerably. We did pretty well at this transition.
Then with Blair and the EU we went the opposite. Lack of investment in robots, manufacturing infrastructure and just imported cheap labour to compensate. This subsidises manufacturing costs, but ultimately the labour has a lot of hidden costs associated with it, houses, schools, medical care etc. And those hidden costs are in no way compensated for by taxes generated by those people that are imported as they are mostly on minimum wage.
So we are now at a stage where we lack robots, technology and investment in manufacturing infrastructure which is why our productivity is so low.
People talk about stuff like the UK can't grow its own food, its too expensive here and now we have left the EU we cannot get fruit pickers. But the Dutch seem to manage it without the cheap labour force. So how ? Well probably because their farming in very high tech, with glass houses and controlled environments and they invest in the technology. Whereas we just get a lot of low paid workers in to pick fruit by hand and our farmers buy Range Rovers instead of investing in technology, then complain when they aren't subsidised enough to compete with the rest of the world.
We are or have been a very unbalanced country in many respects. These things go in cycles, and the rebalancing is just beginning. We'll probably have another 5 years or so of adjustments, and then start to move forward again in a much more balanced way than before. Hopefully with lower living costs (housing in particular) and greater investment in technology.