Programming Phoenix LiveView (PragProg)

From PragProg email:

B9.0 Updates include:

This rewrite is our most extensive to date. Most of the changes are based on the new features in components, heex, tailwind.css, and generators.

  • Updated code to use recent versions of LiveView (0.18.x) and Phoenix (1.7).
  • Updated relevant chapters to reflect changes in these recent versions.
  • Updated chapters to use new calling style (HTML-style arguments passed into a single assigns attribute, and attr keywords.).
  • Added some basic tailwind discussion
  • Added Tailwind discussion, and used CoreComponents where possible.
  • Updated discussion on file uploads.
  • Updated code and prose with new included phx.auth.gen generators for liveview
  • Updated discussion on on_mount and live_session
  • Updates for verified routes and navigation
  • JavaScript client side events/hooks/scripts
  • Addressed errata.
11 Likes