Phx_hook not working after update from 0.18 to 0.19

Hello, I try to update live_view from version 0.18 to 0.19, but unfortunately I discovered the fact that every place where I use “phx_hook” with underscore instead hyphen “phx-hook” the hooks not working. Why? It’s bug?
I use it for example in components where I store it in map as module variable.
like this

@component_options %{phx_hook: "ExampleHook",
style: "display: block;"

defp component_opts, do: @component_options

def my_div(assigns) do
<div {component_opts()}>test</div>

In version 0.18 it works correctly.

I’m not sure if it’s an intentional breakage or not (there’s no mention in the changelog) but as it stands you can make it work like this:

%{"phx-hook": "ExampleHook"}