You can just sprinkle in some <script> tags and not have to rely on UI frameworks. I appreciate that Astro let's you do this rather than invent it's own way of doing things.
For sure, but there is room for improvement there. Similar to how the <style> tag has scoping built in. An integrated way to access the data objects directly and a way to reference elements and events would be ergonomic.