Dynamic Islands in Hugo

Has anyone tried to implement a form of Islands Architecture in Hugo? What is the simplest approach? I was thinking about a template partial with an iFrame to some small JS framework app, what is wrong or difficult with this approach? I am curious to know your thoughts.

As your question is quite general, the similarly general answer would be: organize your templates and partials in a way that permit you to achieve the architectural benefits you’re looking for.

If you’re looking for concrete advise, you’ll probably have to ask more specific questions.