I've been experimenting with QT5 for Python, using pyqt5.  I've noticed that most tutorials recommend using pyuic5 to convert the XML UI to Python code.  I've also seen a couple of tutorials where instead they use uic.loadUi("myui.ui") to dynamical load the XML UI.  This seems like a cleaner, more modular solution to me, but it appears to be an unpopular option.  Is there a reason converting your code with pyuic5 is a sounder solution?
The biggest reason to use pyuic5 is that IDEs (e.g. Visual Studio Code, PyCharm) do not understand .ui files, and therefore cannot provide code introspection (e.g. autocompletion of widget names) for your class unless you compile it to Python.
Why in pyqt5 should I use pyuic5 and not uic.loadUi("my.ui")?