Living in Taiwan vs. China and elsewhere

This may be out of date, but when I was there the locals would speak Shanghainese and look down upon anyone who couldn’t. Only in the professional class did locals speak Chinese amongst themselves, and even then it wasn’t always the case. At the place I worked the team spoke exclusively in Shanghainese, even though one was from Ningbo (the languages are close enough).