Simple Phoenix LiveView App: Socket Session info, CSRF & .leex
Part 4 of the Simple Phoenix LiveView App series. 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
https://alchemist.camp/episodes/phoenix-live-view-socket-csrf
Read next phoenix_integration 0.8.0 pre-release