Generally the packages on the official repos of a distro are optimized for the distro and it is advisable to use them rather than from any 3rd party repo including distro agnostic repos like flatpaks, snaps and many others.