Closed shepmaster closed 1 year ago
Jake, can you comment on whether this issue persists after implementing the solution discussed in #565, please?
I'm going to close this based on the provided solution in #565. Please feel free to re-open this issue if you still encounter something weird, thank you!
Bug Report
Describe the bug
When a middleware is used, Rails actions are invoked twice for every Reflex action.
To Reproduce
Add a middleware:
Then perform a page morph. In our application, we use Stimulus Reflex for live form validation, so every (debounced) input triggers a reflex. In the logs below, I'm hitting a in a form field.
Expected behavior
The controller action is invoked once:
Actual behavior
The controller action is invoked twice:
Versions
StimulusReflex
External tools
Browser