How to use Components in Phoenix

  Рет қаралды 3,071

Plangora

Plangora

Күн бұрын

Пікірлер: 17
@solvm1652
@solvm1652 3 жыл бұрын
Sweet. Thanks!
@armanmirk
@armanmirk 3 жыл бұрын
thanks for the quick demo
@rafaeltorres3362
@rafaeltorres3362 3 жыл бұрын
excellent information, I just discovered something new from Elixir. Thanks greetings
@girorme
@girorme 3 жыл бұрын
Wow! Amazing! It’s like react with steroids hehehhe! Thanks!!!
@kif11
@kif11 2 жыл бұрын
Great overview thank you! Do you have any idea how to include some CSS in a component?
@Plangora
@Plangora 2 жыл бұрын
We tend to use Tailwind for our CSS. Did you have some special usecase that just assembling the CSS by hand and putting it into a style tag won't solve if you're not using normal classes?
@kif11
@kif11 2 жыл бұрын
@@Plangora Thanks for your reply! I don't quite like Tailwind approach with class name that specific to the framework that needs to be learned. And I see no fundamental advantages to this method. style property will work but feels very cumbersome to do is also not possible to override without !important tag. Using classes seams the only good way to do it but it feels so awkward to have global CSS that style my encapsulated component. I would like to find a way to do something similar that Styled Components does or any other CSS in JS solutions. But I guess all of them require preprocessing step.
@ivanhernandezcazorla2427
@ivanhernandezcazorla2427 2 жыл бұрын
Excellent video and explanation of the new Phoenix Components! Could you do one video for Phoenix.LiveComponent?
@Plangora
@Plangora 2 жыл бұрын
Sure. But I think I did one in the past if I remember correctly.
@ngizehmwas5329
@ngizehmwas5329 3 жыл бұрын
Great! Which editor are you using?
@Plangora
@Plangora 3 жыл бұрын
IntelliJ
@solvm1652
@solvm1652 3 жыл бұрын
Thx! How about esbuild in the latest version of phoenix
@Plangora
@Plangora 3 жыл бұрын
That’s on our radar! What did you want to know about that?
@solvm1652
@solvm1652 3 жыл бұрын
@@Plangora - ive never used esbuild before. i'm curious to see the setup and configuration it in action.
@Plangora
@Plangora 3 жыл бұрын
Like how to replace webpack with esbuild?
@solvm1652
@solvm1652 3 жыл бұрын
@@Plangora - that would be cool too.
@ericg3065
@ericg3065 3 жыл бұрын
@@Plangora From what I understand esbuild can replace webpack for basic setups. What I'm confused about is can esbuild completely replace webpack for more complicated setups using plugins. All this stuff is just so confusing.
How to use component: Render Block in Phoenix?
5:28
Plangora
Рет қаралды 703
Getting Started with Phoenix LiveView (UPDATED)
15:56
The Pragmatic Studio
Рет қаралды 10 М.
Every team from the Bracket Buster! Who ya got? 😏
0:53
FailArmy Shorts
Рет қаралды 13 МЛН
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН
GigCityElixir23 - Andrew Ek "Better Forms with LiveView"
38:52
Phoenix JS Hooks: LiveView is now even better!
15:05
Restful Coder
Рет қаралды 4,5 М.
6. Live Components in Phoenix 1.7 with LiveView 0.18
32:47
Groxio
Рет қаралды 4,5 М.
Ash Framework Q&A - Erlang & Elixir Asia
1:38:14
Plangora
Рет қаралды 1,5 М.
ElixirConf 2022 - Kimberly Johnson - Self Taught to First Job!
34:16
ElixirConf 2022 - Chris McCord - Phoenix + LiveView Updates
45:59