State management is also a thorn for desktop apps that need to talk to a server. Or even desktop apps that need to use a local data store, and whose UI has effects not stored when saving. E.g. this is why the MVVM pattern exists in WPF (the last desktop platform I worked on). And things like Reactive Extensions.
JS/React in some sense is just using a high level desktop development language, fetch is rpc, and the server is ... the server.
JS/React in some sense is just using a high level desktop development language, fetch is rpc, and the server is ... the server.