I’m bumping this as I see that Colocated hooks are in the works : Colocated Hooks by SteffenDE · Pull Request #3705 · phoenixframework/phoenix_live_view · GitHub
The fact that there will be a bundling/runtime distinction seems perfect to me and covers my use cases well. This would enable loading Liveview apps at runtime without hacks.
Huge thanks to SteffenD and the Phoenix team, this will be a real enabler.