Through this post I know how to set the title when rendering a subpage, but it only work on the first visit: Page title via live view route that’s compatible with existing code in regular views?
However, it doesn’t fire when LiveView dynamically updates the page, so the page title will remain the same.
What is the solution? Can the LayoutView be built as a LiveView?