# mutare_phoenix_live_view v0.1.0 - Table of Contents

> Mutare mutators for Phoenix LiveView

## Pages

- [Mutare Phoenix LiveView](readme.md)
- [Changelog](changelog.md)
- [LICENSE](license.md)

## Modules

- Mutator front
  - [Mutare.Phoenix.LiveView](Mutare.Phoenix.LiveView.md): [Mutare](https://hex.pm/packages/mutare) mutators for the **Phoenix LiveView** surface:
socket navigation, callback reply tuples, stream operations, pushed client events,
child-component updates, and lifecycle-hook attachment.

- Mutator families
  - [Mutare.Phoenix.LiveView.Event](Mutare.Phoenix.LiveView.Event.md): `:lv_event` — removes `Phoenix.LiveView.push_event/3,4`, the call that ships a
server-initiated event to the client's `handleEvent` JS hook
(`push_event(socket, "highlight", %{id: 1})`, optionally with trailing options such as
`dispatch: :before`)
  - [Mutare.Phoenix.LiveView.Hook](Mutare.Phoenix.LiveView.Hook.md): `:lv_hook` — removes a `Phoenix.LiveView` lifecycle-hook management call, collapsing it to
the socket it would have returned
  - [Mutare.Phoenix.LiveView.Navigation](Mutare.Phoenix.LiveView.Navigation.md): `:lv_nav` — swaps a LiveView's socket-navigation call between its two patch/navigate forms
  - [Mutare.Phoenix.LiveView.Reply](Mutare.Phoenix.LiveView.Reply.md): `:lv_reply` — drops the optional trailing element of a LiveView callback's return tuple,
reshaping it into a different but still valid return. Fires in modules that implement
`@behaviour Phoenix.LiveView` **or** `@behaviour Phoenix.LiveComponent`
  - [Mutare.Phoenix.LiveView.SendUpdate](Mutare.Phoenix.LiveView.SendUpdate.md): `:lv_send_update` — mutates a `Phoenix.LiveView` component-update call, the message that tells
a child `Phoenix.LiveComponent` to re-render with new assigns. Two kinds, each a variant label
  - [Mutare.Phoenix.LiveView.Stream](Mutare.Phoenix.LiveView.Stream.md): `:lv_stream` — mutates `Phoenix.LiveView` stream operations. Three kinds, each a variant
label

