How I published the WORST Angular component library

Поделиться
HTML-код
  • Опубликовано: 26 дек 2024

Комментарии • 21

  • @JoshuaMorony
    @JoshuaMorony  Год назад

    Join my mailing list for more exclusive content and access to the archive of my private tips of the week: mobirony.ck.page/4a331b9076

  • @kettenbach
    @kettenbach 2 года назад +14

    I always loved Angular. I wish more of our clients used it. They all seem to always go with react

    • @CodingAbroad
      @CodingAbroad 2 года назад +5

      I’m the new lead at a place I’ve just joined. All the existing devs are rejoicing that I’m introducing angular to their lives (they don’t like react haha)

    • @kettenbach
      @kettenbach 2 года назад +2

      @@CodingAbroad you're doing them a favor. They will pick up skills they otherwise wouldn't have learned. It will benefit them for many years in this journey. I'm so thankful to have learned rxjs. I love it

  • @CodingAbroad
    @CodingAbroad 2 года назад +2

    I made the npm library ngx-disable-during-ajax. A nice lil tag you can assign to a button to make is disabled whilst ajax calls are in transit

  • @sridhar-natuva
    @sridhar-natuva 2 года назад +2

    Wow. I want to do something for the open source community but i am not sure where to start. This tutorial is super helpful.. thank you so much for your videos in this channel.. please post advance topics frequently.

  • @leonardopillay4200
    @leonardopillay4200 2 года назад +1

    Hi Joshua could you do an updated tutorial as nx has updated and the entire project structure has changed.

  • @Brendan2Alexander
    @Brendan2Alexander 2 года назад +2

    Thanks very helpful. One issue I have struggled with is using sass in my component lib. How do u compile the sass and reference in the using project? Let’s also posit that I do not define sass within the ng component but rather in a separate dedicated scss file.

    • @JoshuaMorony
      @JoshuaMorony  2 года назад +1

      With Nx? I actually ran into this because I'm using single file components with inline styles - I was using SASS but found that it wouldn't compile so I just use standard CSS. I reached out to the Nx team and it seemed like it's not supported but then I saw some discussion around that maybe it was, anyway I haven't fully looked into it so I'm not sure! But, I was under the impression that non-inline SASS would work (but I haven't tried that myself).

    • @kevintale2608
      @kevintale2608 2 года назад +1

      @@JoshuaMorony AFAIK Inline SASS doesn't work for library even without NX. I had some issue with that not long ago.

    • @AlainBoudard
      @AlainBoudard 2 года назад +4

      From my experience, you would have to produce your sass and everything it needs in the assets of your library, so that when you install your lib, you can reference your /node_modules/mylib/assets sass file and compile it in your app. Also you might have to reference your assets in your angular.json if they ever have to be exposed in the final app. It's not that easy but really doable 🤗

  • @rd_45
    @rd_45 Год назад

    Thanks josh

  • @GammaWraith
    @GammaWraith 2 года назад

    Super insightful thank you

  • @rudolfmayer01
    @rudolfmayer01 2 года назад

    Made a pull request after ovethinking it too much and pushing some useless thing anyway. But I guess that was the point.

    • @JoshuaMorony
      @JoshuaMorony  2 года назад

      Indeed! Thanks so much for joining in

  • @pedrofernandes2005
    @pedrofernandes2005 2 года назад

    tbh it would be more useful if it was done without nx. OR do with both scenarios

    • @JoshuaMorony
      @JoshuaMorony  2 года назад

      I was going to do this originally (both) but I think it would have made the video worse. This is probably a bit of a fan boy opinion on my part but if you aren't already building libs with the Angular CLI and prefer that or using Angular workspaces, then I think Nx is the better option anyway since its basically like using the Angular CLI with extra features.

    • @GammaWraith
      @GammaWraith 2 года назад

      @@JoshuaMorony Also would prefer standard angular cli

  • @mohamedenhaden4940
    @mohamedenhaden4940 2 года назад

    Hey , love your content.
    I am an angular developer but in an African country and it is difficult for me to find work can you help.
    May be you are interested in mentorship
    I promise this befits you in the future

  • @snansahmarov1524
    @snansahmarov1524 2 года назад

    I am currently angular developer. I have 1.5 year (react + angular) front end work experience. I can say that, every angular library is shit, because angular is shit. Please, just go with react or vue

    • @CodingAbroad
      @CodingAbroad 2 года назад +5

      This comment is not wanted here