# `PhoenixReplay.Web.Live.ReplayComponent`
[🔗](https://github.com/elixir-vibe/phoenix_replay/blob/v0.6.2/lib/phoenix_replay/web/live/replay_component.ex#L1)

Stands in for a recorded LiveComponent in the replay frame.

`PhoenixReplay.Web.Rendering.rewrite/2` puts it in place of each component,
so the frame renders the original module's template with the assigns the
parent passes merged with the assigns recorded for that component. The
frame refreshes it with `send_update/3` after every seek. Events from the
recorded template are ignored.

# `replay_assigns`

```elixir
@spec replay_assigns(module(), term(), PhoenixReplay.Web.Rendering.states()) :: map()
```

Assigns that route a component through this replay component.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
