You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My library live_event works similarly to this one. I used this defoverridable trick, which I learned from the Surface, to prevent the need for the user to explicitly add a hook in update/2
My library
live_event
works similarly to this one. I used thisdefoverridable
trick, which I learned from the Surface, to prevent the need for the user to explicitly add a hook inupdate/2
https://github.com/schrockwell/live_event/blob/1cdf78ca8e215c196c30e98f17d849c6e2c5b8bb/lib/live_event/live_component.ex#L29
Thought you might find it handy for a cleaner API in components. Would be happy to put together a PR if this change is desired.
The text was updated successfully, but these errors were encountered: