logo
  • Start here
  • Episodes
  • Articles
  • Log in
  • Sign up

Simple Phoenix LiveView App: Socket Session info, CSRF & .leex

Topics:
CSRF
Sockets
LiveView
Reactor
Phoenix

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)

Share

Request a free email course
Back to index

No Comments

Log in to leave a comment
Alchemist Camp 2017-2020
Hosted on Digital Ocean
Terms and Conditions