WPF/SwiftUI are vastly superior to anything that exists in open source; so that's hardly a problem.
Mind you, I'm referring to the consumer desktop here. RHEL thus -> Ubuntu, Oracle Linux, and OpenSUSE are progressing towards Wayland by default. Even the OpenJDK folks are inching towards...