Freedom is an investment. Of course the UK will be worse in short run, and I'm sure EU members will poit fingers and say "we told you so!". But in the long run they will be better off than the rest of Europe, where structural changes have proven impossible. Such decisions take dozens of years to give fruit.
GDP's not perfect, but that should hint at a number of things. Look also at Organic Inflation, and Debt Ratio. Unless the UK governments to come take much worse decisions than the EU bureaucrats, it should not be too difficult to do better.
Your economy can boom with all the citizens suffering. For example, if average wages go down, and the rich get richer, the overall economy grows, but is of little consequence to most people.
When countries grow powerful, they begin to forget about the "socio" part of socioeconomics, and just look at dollars.
Freedom has a cost, and it seems that the UK populace who voted to leave does not fully understand that cost.