That’s was it. the js side and the elixir side of the Liveview got out of sync; I was basically using 0.16.x js on 0.17.x elixir. I thought about it, but was fooled by the live_dashboard working. It turns out the live_dashboard bundled everything inside. Thanks a lot!
However, I still have the map type check issue:
** (exit) an exception was raised:
** (RuntimeError) invalid value for property "stat". Expected a :map, got: nil.
(surface 0.7.3) lib/surface.ex:246: anonymous fn/6 in Surface.build_assigns/6
I know I can trn the data prop into an :any but it still is annoying. It is a legitimate usage case that some data assigns are not initialized, as long as the templates check for nil, because loading everything takes time. nil is a very convenient marker of uninitialized data.






















