What headaches? You mark a query as stale and it fetches new data from the backend and rerenders elements as needed automatically.
What reason is there to learn Ruby and Rails and Hotwire and streams and turbo frames and whatever the next churn is just to avoid rendering some html with javascript?