You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the page reloaded after redirect_back from a turbo_stream request, in simple words:
Submit a form (from the show action from the first controller) that goes with formats turbo_stream (Why formats turbo_stream? Because I need to render the errors back to the form if any)
The request goes to the second controller to be processed and then in this controller we redirect_back
The request is now back to the first controller and arrived as a turbo_stream request and there I render the show template as formats: :html
I get the show view rendered and it loads the first time (which is good) and then it reloads it again for a second time (which is wrong)
Take a look here:
The question is, how may I prevent the second loading to happen?
Thanks.
The text was updated successfully, but these errors were encountered:
I am also seeing that the initiator is the same between the submit request and the redirect_back, the question is why the submitBubbled is kept during the redirect_back
Hi,
I'm getting the page reloaded after redirect_back from a turbo_stream request, in simple words:
formats: :html
Take a look here:
The question is, how may I prevent the second loading to happen?
Thanks.
The text was updated successfully, but these errors were encountered: