The full series playlist for Simple Phoenix LiveView App on YouTube is slightly ahead of what's published here at the moment.
This episode covers three things:
-
Pass connection info to our socket in endpoint.ex
-
Set up CSRF tokens for use with LiveView via sockets
-
Convert the embedded ~L template in our LiveView render function to a separate .leex file
(Source code available for premium members)