Lets imagine I have a page with 2 frames on it.
- One to display a list of items
- Other is a form to create that item
Post form submission, I want to trigger a refresh on the frame holding the list of items.
One option is to return a stream from the form submission response that appends to the list. But in that case I am hard wiring my form responses to be aware of a turbo app + the navigation style.
Instead, I want form submission to be its own thing. Submit form + redirect. Job done and then the frontend using stimulus to trigger a refresh on the list frame