excellent information, I just discovered something new from Elixir. Thanks greetings
@girorme3 жыл бұрын
Wow! Amazing! It’s like react with steroids hehehhe! Thanks!!!
@kif112 жыл бұрын
Great overview thank you! Do you have any idea how to include some CSS in a component?
@Plangora2 жыл бұрын
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?
@kif112 жыл бұрын
@@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.
@ivanhernandezcazorla24272 жыл бұрын
Excellent video and explanation of the new Phoenix Components! Could you do one video for Phoenix.LiveComponent?
@Plangora2 жыл бұрын
Sure. But I think I did one in the past if I remember correctly.
@ngizehmwas53293 жыл бұрын
Great! Which editor are you using?
@Plangora3 жыл бұрын
IntelliJ
@solvm16523 жыл бұрын
Thx! How about esbuild in the latest version of phoenix
@Plangora3 жыл бұрын
That’s on our radar! What did you want to know about that?
@solvm16523 жыл бұрын
@@Plangora - ive never used esbuild before. i'm curious to see the setup and configuration it in action.
@Plangora3 жыл бұрын
Like how to replace webpack with esbuild?
@solvm16523 жыл бұрын
@@Plangora - that would be cool too.
@ericg30653 жыл бұрын
@@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.