Render with some additions

I’m learning Hotwire, and I see that some people suggest adding something like this to the view being rendered:

<%= turbo_stream.update "flash", partial: "layouts/flash" %>

However, that’s quite repetitive - even if I add a helper, it is still one line to be added to all views that will render a flash.

Would it make sense to add an option to the render method to pass something to be added to the rendered template?

render "destroy", top: "shared/turbo_stream_update_flash"

That’s just an idea.

What do you think?