Skip to content

Conversation

@geolessel
Copy link
Owner

Since LiveView does its own DOM manipulation, we need a little extra to ensure that React components rendered inside of LiveView persists between updates.

For now, there is no `updated` hook defined because in my testing, I
couldn't find an instance in which it was ever called. I added a
`phx-hook: "ignore"` to the div so that subsequent updates don't
re-render the component.
@geolessel geolessel self-assigned this Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants