I need to create a modal to show the profile of a user, but i don’t know how i can do this implementation within the live view. Does anyone know, or have you used something similar?
http://blog.pthompson.org/phoenix-liveview-livecomponent-modal might be relevant.
The blog post above might be outdated. For a “fresher” approach see the modal generated in a new live view project:
mix phx.new --live app mix phx.gen.live Accounts User users name:string age:integer
The relevant file is in