That cannot be true based on any logical thinking. It would be amazing if that were the case. That people fleeing in Nakba all said “we will go anywhere but the remaining unoccupied Palestinian territory”
That's absolutely false. Yes, there were Palestinians in Gaza before the Nakba, but the reason there are refugee camps and the reason UNWRA exists is to provide for the Palestinian refugees from the Nakba.