There has been a long promise of having visual editors for UI. There are also some very promising solutions that are actually able to put together the design that is needed. Webflow is an amazing website builder that is very intuitive to use. Figma is an awesome design tool that can provide actual code that can be copy-pasted into the app. But why we don't have a nice visual editor in our IDE.

Elm - or talking about single state

I love functional paradigm, and therefore I love Elm's promise. I no longer use the language itself as I couldn't keep up with the changes by each version. ....

Single state could really control what is displayed. The view model could be developed by UI developers. I call it UI develop who in my mind actually UI/UX designer using visual tools to put together the behaviour of the application but no backing it with real data that can come from different sources.

I'm using Vue.js. In Vue.js you have state not just in a central "store" (Vuex or Pinia) but you have also behaviour in the component. This won't allow us to build the Visual Editor I'm dreaming of.

https://www.codux.com/