Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback about live-component #20

Open
dmitry-sidorov opened this issue Oct 23, 2024 · 0 comments
Open

Feedback about live-component #20

dmitry-sidorov opened this issue Oct 23, 2024 · 0 comments

Comments

@dmitry-sidorov
Copy link

"you can use phx-target={@Myself} to make it clear that the event will be handled by this component and not the LiveView that contains it."
I would say "you should use phx-target", otherwise parent component's event handler will be called despite live component event handler defined or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant