ability to have multiple concurrent form submissions
I'm working on a very simple todo app. Each todo item renders a "mark as done" / "mark as todo" button inside a form to toggle the todo item status.
Right now, on slow connections, I cannot have several in-flight requests, because every form submission will cancel the previous form submission, if any.
I understand how this is a good idea if the reponse will be a redirect, but in my case, the respones are turbo streams that are going to refresh the just updated todo item only, so I'd really like to have several concurrent requests, I don't care if they finish out of order or anything.
Am I missing something obvious?
If it helps at all I've put together a fresh new rails app with a PoC here: https://github.com/ciscou/turbo-todo-list
Source: hotwired/turbo