-
Notifications
You must be signed in to change notification settings - Fork 951
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
LiveView Lifecycle Hooks #1511
LiveView Lifecycle Hooks #1511
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, I have dropped some minor comments only!
|
|
||
| on_mount {DemoWeb.LiveAuth, :ensure_mounted_current_user} | ||
| on_mount DemoWeb.InitAssigns | ||
| end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide examples of how the actual callback would look like in this case. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I just left some bikesheds on the docs and on the Hook module, other than that, this is good to merge to me!
Co-authored-by: José Valim <jose.valim@dashbit.co>
|
❤️❤️❤️🐥🔥 |
No description provided.