How to stay fast and fresh with Angular

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 75

  • @nerdiloo9863
    @nerdiloo9863 4 роки тому +56

    Gotta give it to the team, they do put work into the framework. Thanks man.

  • @KeganVanSickle
    @KeganVanSickle 4 роки тому +5

    Thank you guys for making such a great framework and all the hard work with compatibility, tools and documentation.

  • @giorgimerabishvili8194
    @giorgimerabishvili8194 4 роки тому +5

    Angular is definitely the most accomplished framework out there! Thank you!

  • @akshayV701
    @akshayV701 9 місяців тому +1

    Quite a useful information, since we made it to the year 2024, Angular released v17, can this video be updated to latest one.

  • @sparun1607
    @sparun1607 4 роки тому +6

    Thanks :) given more insights on Angular.
    How to clear the cache of components from browsers automatically, whenever there is a new version loaded?
    This is a plain vanilla code therefore it is easy to upgrade, but when there are dependency most of the code breaks, its very hard.

    • @crazedfan070589
      @crazedfan070589 4 роки тому +1

      Each time you run a new build it generates a new hash on the javascript file. main-es-%someRandomHash%.js. Since the hash is different after each build the browser will always receive a cache miss the first time a new version is accessed and load the new version.

    • @sparun1607
      @sparun1607 4 роки тому

      Joel Wenzel Ok thanks for valuable feedback, I’m developing application for my Organization, the end customers all using chrome only, but customers never close browsers and reopen again, in such cases the components never reflect and after clear cache the in long time browsing the components will reflect, how that we can automatically reloaded. Any suggestions ?

    • @herohema5
      @herohema5 4 роки тому +1

      @@sparun1607 Maybe have a check that relaods the whole app every 24hours or something? ;-;

    • @sparun1607
      @sparun1607 4 роки тому +1

      @@herohema5 Yes. currently implemented the auto logout feature using ng-idle node module

  • @PlatinumBuckGorilla
    @PlatinumBuckGorilla 4 роки тому +3

    The best JavaScript framework on the planet.

  • @aaron4278
    @aaron4278 4 роки тому +1

    I haven't touched Angular and yet here I am

  • @stepankotyk8823
    @stepankotyk8823 4 роки тому

    Thanks for source map analyzer. Was using bundle analyzer for years now

  • @a19905
    @a19905 4 роки тому +2

    Plus point for using kde

  • @omaralexandro2928
    @omaralexandro2928 4 роки тому +13

    Angular is awesome!

    • @shawnradke
      @shawnradke 4 роки тому +1

      haha
      no

    • @shawnradke
      @shawnradke 4 роки тому

      @Username: JS yup haven't used it since v4, very meh performance and too much boilerplate

  • @markw.schumann297
    @markw.schumann297 4 роки тому +1

    Wait a minute, right up front, you add Angular Material to your app and it just gives you a skeleton dashboard like that? When did that start happening?

    • @abhijeetdey
      @abhijeetdey 4 роки тому

      I think it was a pre made component for the video? But even if it does.. that's pretty basic dashboard :P

  • @nicolapigozzo
    @nicolapigozzo 4 роки тому +3

    i am getting error zsh: command not found: source-map-explorer. I installed it globally and locally with yarn and npm but no way. On google there is no solution. Does anyone is getting the same error?

    • @kristjanpuusepp2751
      @kristjanpuusepp2751 4 роки тому +1

      Are you using the latest angular and have you updated npm?

    • @nicolapigozzo
      @nicolapigozzo 4 роки тому

      @@kristjanpuusepp2751 Is this feature available on angular 9? I didn't find any mention about It.

    • @Tux2442
      @Tux2442 4 роки тому

      Do you have your npm packages in your path variable?

    • @jeannuel
      @jeannuel 4 роки тому

      Try if that command works without zsh. I think the problem is with zsh.

  • @rezataba6204
    @rezataba6204 4 роки тому

    1- Does Angular10+ take care of Lazy-loading by itself or we have to do it manually?
    2- Is any tutorial for that Dashboard and its customizations?

    • @Bjlasc01
      @Bjlasc01 3 роки тому

      You must explicitly set up lazy loading in your app in a routing module.

  • @talhamunir8822
    @talhamunir8822 4 роки тому

    why ng update is installing packages via yarn on your machine but when I run this it install via npm :/
    how can I make it to use yarn instead of npm?

  • @YeisonDev
    @YeisonDev 4 роки тому +3

    Thanks man i see you from Colombia 👍

  • @jithinp3390
    @jithinp3390 4 роки тому +1

    why are there forms module and other unused modules, doesn't tree shaking remove the unused ones?

    • @kacperbrezden6055
      @kacperbrezden6055 4 роки тому

      It's because it's still being imported into the module, he just commented out it's usage :)

    • @johnnybravohonk6964
      @johnnybravohonk6964 4 роки тому +1

      You might find other frameworks doing better job. Not used = not in bundle. But not in Angular, where you fight total mess of imports, declarations and other useless stuff that you spend time on instead of delivering value to the product.

  • @kevincode8497
    @kevincode8497 4 роки тому

    Hey Google team,
    Can you help me solve this problem..
    After npm update I always fave this issue
    ERROR in node_modules/@ngx-utils/cookies/src/cookies-options.service.d.ts:11:18 - error TS2314: Generic type 'ɵɵFactoryDef' requires 2 type argument(s).
    11 static ɵfac: i0.ɵɵFactoryDef;
    I haven't any solution of this...
    Can you please guide to me..

  • @pradeepverse
    @pradeepverse 4 роки тому +1

    Is Angular using Webpack or Rollup for bundling under the hood?

  • @tejasn3835
    @tejasn3835 4 роки тому +1

    What is the operating system he is using?

  • @hansschenker
    @hansschenker 4 роки тому +2

    Performance is ok! But when does Angular get rid of the very unfortunate dependance on NgZone???

  • @SebastianPerezG
    @SebastianPerezG 4 роки тому +1

    Hey guys , web.dev is not working ?? i click in several links and nothing happend ..

    • @f22hd
      @f22hd 4 роки тому

      I believe you need to do some changes in settings on your browser that enable .dev domain working as other domains.
      I searched on Google and find a way to resolve this issue.
      Hope this comment helps you.

  • @santiago4198
    @santiago4198 4 роки тому +2

    I dont understand all the hate on Angular... impressively well built framework, I never need to use another external tool since all the useful things could be created on it. Maybe is because its hard to catch how to work for some people..

    • @valentinsaik6754
      @valentinsaik6754 4 роки тому +1

      Did you tried to build an app which requires SSR & i18n? Try it, feel that pain of lacking decent docs examples, SSR-incompatible libraries and so on

    • @leonardofreire9191
      @leonardofreire9191 4 роки тому +1

      @@valentinsaik6754 i18n is pretty straigthforward

    • @valentinsaik6754
      @valentinsaik6754 4 роки тому

      @@leonardofreire9191 everything with angular pretty straightforward until you have to make it work with ssr =(

  • @raybbo
    @raybbo 4 роки тому +14

    yeah its super easy compared ot the old angular, you just have to run 50 command lines, be dependent of 3000 other packages and ofcourse the resulting file is exactly what you want!

  • @RavenDuran231
    @RavenDuran231 4 роки тому +1

    Awesome updates as always. Thank you! :)

  • @filipecotrimmelo7714
    @filipecotrimmelo7714 4 роки тому +1

    Nice explanation. Angular is like poetry =)

  • @jinbju
    @jinbju 4 роки тому +3

    Thanks. I also feel Angular getting faster whenever update new version!

  • @PROFjavi
    @PROFjavi 4 роки тому +4

    I love Angular

  • @snowsior621
    @snowsior621 4 роки тому

    Seems like video copy from what the recommend on their website, so you can check it you don't want to watch video

  • @Moelgaard85
    @Moelgaard85 4 роки тому

    Thanks - good and helpful :)

  • @M1L3Y
    @M1L3Y 4 роки тому

    Changing code on master! 🙈

  • @peopledrivemecrazy
    @peopledrivemecrazy 4 роки тому +5

    Ben Awad incoming.

  • @johnnybravohonk6964
    @johnnybravohonk6964 4 роки тому

    YT positions critique at the very bottom... coincidence?

  • @chrise202
    @chrise202 4 роки тому +1

    How to stay fast with Angular? No brainer develop in React!

  • @Mouyahama
    @Mouyahama 4 роки тому +6

    After trying out Svelte never looked back to clunky Angular

    • @fritzdeuces
      @fritzdeuces 4 роки тому +2

      Are you gonna employ yourself too?

    • @mikel.5344
      @mikel.5344 4 роки тому +2

      @@fritzdeuces why not? maybe he is a freelancer? Or has its own projects which generates his income?

  • @lastrafda519
    @lastrafda519 4 роки тому +1

    Honestly if it wasn't because it's so much easier to get a job as a React Developer I would use Angular everyday

    • @orlandogarcia4403
      @orlandogarcia4403 4 роки тому

      We should use both of them, we never know when Angular will come in our career :)

  • @noidar
    @noidar 4 роки тому +10

    Hey guys there is react out there :D

    • @AnishKumar-yr1dk
      @AnishKumar-yr1dk 4 роки тому +6

      React is a library and Angular is a framework !! There is a hell lot of difference between two.

    • @noidar
      @noidar 4 роки тому +6

      @@AnishKumar-yr1dk you don't say

  • @MohsenZaim
    @MohsenZaim 4 роки тому +7

    The fastest way is to avoid angular all together and use react or vue.

  • @youssefmuhamad3213
    @youssefmuhamad3213 4 роки тому +5

    Just don't

  • @imichael.
    @imichael. 4 роки тому

    People are still using Angular?

  • @konrad8015
    @konrad8015 4 роки тому +3

    Sorry but Angular sucks. Frontend should be simple to write. React and Vue meet that criteria. Single file components are a must-have. Besides, creating new project with Angular CLI takes ages...! Nice try Google but only grandpas still use it

    • @gigantedocil
      @gigantedocil 4 роки тому

      You can write angular components in just one file.

    • @konrad8015
      @konrad8015 4 роки тому +3

      @@gigantedocil If you mean using string with template: "..." then it's bad. Having experience with all 3 frameworks, angular is too overengineered and tries to do too much.

    • @leonardofreire9191
      @leonardofreire9191 4 роки тому +9

      Frontend ain't only about writing simple beautiful components in one single file. And the CLI is one of the most powerful tools that can be used, if used well of course. People just tend to hate on Angular because it's very structured and nowadays people seem to love what's trending (aka React). They just forget that most inexperienced developers will do some nasty stuff without a structured framework like Angular. At the end, they both can give pretty much the same results, so we should be thankful we can choose our tools.

  • @flakobatako
    @flakobatako 4 роки тому

    1. Uninstall Angular
    2. Install vue.js
    3. DONE!

  • @FaizanAnwerAli
    @FaizanAnwerAli 4 роки тому +6

    I just wanna say angular suck. React is the way to go

    • @johnnybravohonk6964
      @johnnybravohonk6964 4 роки тому +1

      Or Vanilla JavaScript. Devs would at least learn something useful instead of wasting time on useless stuff that make TODO app feel like enterprise-ish megazord. And TS does not help. It makes things worse.

  • @TheRegalstreak
    @TheRegalstreak 4 роки тому +1

    Angular is dead and has been for a few years. Learn React.