Uploaded April 2026 | Updated September 2026, 1 week ago
In this video, I reproduce and debug the "split-brain" bug that happens when your LiveView uses layout: :root instead of :app β accidentally creating two independent processes with diverging state.
I walk through a demo app, use LiveDebugger to inspect both LiveView processes side by side, then dig into the source code to find and fix the one-line root cause.
---------
π See the ElixirForum issue: elixirforum.com/t/how-do-you-debug-state-changes-using-liveviews/70044
π Try LiveDebugger: docs.swmansion.com/live-debugger
In this video, I reproduce and debug the "split-brain" bug that happens when your LiveView uses layout: :root instead of :app β accidentally creating two independent processes with diverging state.
I walk through a demo app, use LiveDebugger to inspect both LiveView processes side by side, then dig into the source code to find and fix the one-line root cause.
---------
π See the ElixirForum issue: elixirforum.com/t/how-do-you-debug-state-changes-using-liveviews/70044
π Try LiveDebugger: docs.swmansion.com/live-debugger










