I don't like Flatpaks, Flatpaks are heavy, take up a lot of space and consume a lot of resources in RAM. But when it comes to installing proprietary software that is not available in the official Fedora repositories, Flatpaks are a good option as some type of isolation is added.
su -c 'dnf install flatpak'
Enable Flathub repo
Add the Flathub repo:
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Some good examples are:
I don't like to install Flatpaks on my root directory, so I always add the --user flag to make sure Flatpaks are installed under my ~/ directory.
flatpak --user install flathub im.riot.Riot