I've always preferred using native desktop toolkits for my projects, but it's always such a pain to use a retained-mode approach and maintain state in two different places.
This, and my jealousy of how easy people in the ImGui world have it (it's so much easier!), led me to create a virtual DOM for desktop toolkits.
This gives me the full power of the immediate-mode paradigm, but still allows me to target native toolkits.
Feel free to ask any questions or provide suggestions.