Replies: 1 comment 7 replies
-
I don't understand the problem. What makes it such that you can only redirect after a specific amount of time has passed? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys,
After receiving an HTTP request 200 from the backend, we cannot redirect the actual page to another after some delay.
We need to use
HX-Trigger-After-Swap
and write an event with it which is kind of too much just for a redirect.On the documentation here we have
HX-Redirect
but we should also haveHX-Redirect-Timeout
header to make the job done in a more cleaner way.Let me know what you think.
Beta Was this translation helpful? Give feedback.
All reactions