Phoenix LiveView 0.18's link component


LiveView 0.18 consolidated live_redirect/2, live_patch/2, and link/2 functions into a new link component:

  • live_redirect/2 is now a link with a navigate={path} attribute
  • live_patch/2 is now a link with a patch={path} attribute
  • link(text, to: path) is now a link component with href={path} attribute

I like how those are consolidated!

Want the latest Elixir Streams in your inbox?

    No spam. Unsubscribe any time.