3 ms·
Hi Chris, Is there any chance this[0] could be reopened? The problem I have with a JS hook is that if you do a "socket |> push_event() |> push_redirect()" the
by conradfr 5y ago
Hi Chris,
Is there any chance this[0] could be reopened?
The problem I have with a JS hook is that if you do a "socket |> push_event() |> push_redirect()" the hook is actually destroyed before writing the cookie.
Currently I'm using "Process.send_after(self())" to delay the redirect, it's not that ideal.
[0]https://github.com/phoenixframework/phoenix_live_view/issues/313 https://github.com/phoenixframework/phoenix_live_view/issues...