According to chat gpt:
Turbo Frames in Rails typically work by sending requests to the server, and the server responds with the updated content for the frame. If you’re manually updating the
src
attribute of a Turbo Frame and expecting it to reload, it might not work as expected because Turbo Frames rely on Turbo Streams to provide the updated content.