That sounds good; thanks for the response. Most stuff I do is in the middle between static/dynamic; needs solid SEO and prerendered parts for various reasons but also contains, for browsers that support it, quite a lot of dynamic elements. Now we just use asp.net/static-with-some-react but that is driving me bonkers.
Static with some react sounds like a nightmare. One of the primary reasons why many moved to JS frameworks was to have a better separation of concerns and a single place where GUI logic resides.
May I suggest you have a look at Next.js. It lets you solve this in a very ergonomic way. Maybe even for your existing project.
We have been tinkering a bit with building something close to Phoenix LiveView with HSX. Hope we can show something in that direction later this year.