Flux, the UI Library for Livewire

Tell me I’m not the only one slightly jealous of the Laravel ecosystem right now :see_no_evil:

I think I read somewhere web component integration for LiveView is on its way, so I wonder if there’s enough overlap between both projects that leaves space for a shared solution, because this looks too good to be true. I think this is a good glimpse of what core components could be in the near future.

4 Likes

Yes, it definitely is. I had a great discussion with @chrismccord about this at Elixirconf, hopefully more to come on the topic soon :slight_smile: . For now, you can get (IMHO) a pretty decent level of support for web components by using LiveElements.

7 Likes

That’s good news actually! I hope that we get some improvements to function components in the same batch to make DX really great.

Uuh, exciting! I’d build so much (random) stuff with sth. like Flux for LiveView.
‘Canonical’, almost declarative building blocks to easily build accessible comboboxes? Count me in!

Is LiveElements something like Petal Framework?

No, Live Elements is specifically about improving the ergonomics of working with Web Components (aka Custom HTML Elements) with LiveView. There are many web component based libraries available, and the goal of Live Elements is to make them all pleasant to work with in LiveView.

2 Likes