Oh, I was wondering how to do this with HTMX! I wish the documentation was more verbose, and had some examples. It's a little hard to understand how to use with how minimal the docs are.
edit: just found the example. https://htmx.org/examples/update-other-content/