Reinstall of firefox deletes profile

I tried to reinstall firefox after the latest update broke it, and snap deleted all my data. Only because of a single askubuntu post was I able to find the archived backup that snap makes, and restore my profile. It took me hours to figure out, and you can see what I had to do in this reddit post:

This mozilla support article claims that uninstalling doesn’t remove user data, and while technically true in the case of Snap, an average user might spend hours trying to get their profile back, or simply give up:

I don’t know what the solution is, but this was an awful experience, and I don’t want anyone else to go through that