Re:LiveBeats: Building a social music app with Phoenix LiveView
by conradfr on Wednesday February 02, 2022 @11:43AM
(#30179980)
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.
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...