stryrckt

stryrckt

I’m excited about the new LiveComponents feature in LiveView, but I haven’t seen much written on it, so I decided to write a couple of articles based on a talk I gave at our Portland, Oregon Elixir meetup. The first article is an introduction to LiveComponents and is available now. The second one will be out later next week and walk through a more elaborate example.

You can find the first article here:

Showing Posts 1 to 8

phoebe

phoebe

Thank you, bookmarking this!

imartinat

imartinat

Hi,

Could you please update the mount definitions in the LiveComponents to contain only the socket? (Phoenix.LiveComponent — Phoenix LiveView v1.2.5) . If we follow your article, and add internal state to the LiveComponents, it doesn’t work : Livecomponent: assign @value not available in eex template. Why such behaviour? - #8 by Softknobs
Thanks.

stryrckt

stryrckt OP

Thanks for pointing that out. It is fixed now.

stryrckt

stryrckt OP

I have just updated the article and code to LiveView 0.6.0.

stryrckt

stryrckt OP

I have updated the article and code to LiveView 0.13.3.

sodapopcan

sodapopcan

In the third code example you have: ~L"\"" (note the backslash). That’s a typo is it not?

sodapopcan

sodapopcan

PS, really, really helpful article. I just got started with Phoenix a few weeks ago.

stryrckt

stryrckt OP

Glad you found the article helpful! Yeah, that was a formatting issue. Tehanks for letting me know. It is fixed now.

— All posts loaded —

Where Next? Top

Trending in Guides/Tuts Top

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews