It's just the underlying model that is similar, but React is pretty good at abstracting all that (unlike Win32).
When it comes to developer experience I'd say that React and company are ahead of most desktop UI technologies, and has inspired others (Flutter, SwiftUI).