SwiftUI, SceneKit, AR, and Facebook's React are the new JavaFX

That is all.

OK, will clarify for those who don't know about JavaFX: It was a new UI metaphor/declarative model on top of Java Swing, which is a giant bloated mess on top of Java AWT, which was a thin, minimally-functional shim on top of native platform UI, usually just CPU-bound drawing in a canvas. It came out just as Java applets became the most common virus vector, and Java on the desktop was dying off (aside from Minecraft, which uses LWJGL). JavaFX was not inherently bad, but limited by its underlying tech stack. Only a few people used it seriously, and their software is now broken because it's EOL by an uncaring corporate owner.

Don't tie yourself to hot marketing garbage APIs pushed by evil mega-corporations.