Snap is arguably the better sandbox. The bigger issue with Snap is that only Canonical (the company that owns Ubuntu) has the code for the Snap store, so it’s a closed ecosystem and there are no alternative stores, so the minute they enshittify it’s garbage. Flathub is the most popular flatpak repo but the code for a flatpak repo is open source, there are alternative options and will be in the future.
Snap is arguably the better sandbox. The bigger issue with Snap is that only Canonical (the company that owns Ubuntu) has the code for the Snap store, so it’s a closed ecosystem and there are no alternative stores, so the minute they enshittify it’s garbage. Flathub is the most popular flatpak repo but the code for a flatpak repo is open source, there are alternative options and will be in the future.