P99:
“def live_modal(socket, component, opts) do path = Keyword.fetch!(opts, :return_to) modal_opts = [ id: :modal, return_to: path, component: component, opts: opts ] live_component(socket, PentoWeb.ModalComponent, modal_opts) end”
I don’t think we’ve met Keyword.fetch! before. Whilst the name makes it pretty obvious what it does, it might be worth a mention/explanation.