I use the flatpak version, which keeps all of the cache and config directories together, and I'm fairly certain I've simply copied the flatpak data folder between computers in the past. I could be wrong though; I might have only copied it between distros on the same hardware.
I’ve done this recently twice and it worked between 2 different distros on different hardware. I don’t remember if I had to link it again, but if I did, it worked and my history was intact.