Closed bcardarella closed 1 month ago
I should mention I think I've seen it grow before, however in this example it was the same length each time
Are you still seeing this after #1337
@BrooklinJazz can you try updating to main
on the kino lib and see if this is still happening?
Will do!
@bcardarella It seems like it still occurs. I can replicate the problem by just raising an error in Livebook:
defmodule ServerWeb.ExampleLive.SwiftUI do
use ServerNative, [:render_component, format: :swiftui]
def render(assigns) do
~LVN"""
<Text>Hello, from LiveView Native!</Text>
"""
end
end
defmodule ServerWeb.ExampleLive do
use ServerWeb, :live_view
use ServerNative, :live_view
@impl true
def render(assigns), do: ~H""
def mount(_params, _session, socket) do
raise "ERROR"
end
end
That is so strange. I don't see the same in a regular setting. I am not using with an umbrella app so I can test that later but I don't see why the server would be doing this.
The fix was on the client side, so you would need to depend on main
for liveview-client-swiftui
in your Xcode project.
Oh, roger! I'll update and test
Is this issue still occurring?
Apologies for the lack of follow up. I haven't seen the issue since. I think we can close
Stack trace: Note the url in the stack trace and all of the
_format=swiftui
query params@BrooklinJazz reported this and suspects it is happening during reconnects where the QP keeps getting added onto the previous URL on each query param attempt