Angular 6 Upgrade - Breaking Changes & Features - What's New?

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

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

  • @DannyGrady
    @DannyGrady 6 лет назад

    Fabulous video, thanks! It's amazing how official documentation can make something so simple seem so obscure.

    • @academind
      @academind  6 лет назад

      Sometimes the official docs can be a bit hard to read Danny, I agree. That's why it's really cool to read that the video helped you to make things clearer :)

  • @synfyn
    @synfyn 6 лет назад

    Thanks Max. Nice summary of changes. Thanks a lot for explaining those in so easy ways.

    • @academind
      @academind  6 лет назад

      Thank YOU for your great feedback, it's really cool to read that you like my explanations :)

  • @theanswerga
    @theanswerga 6 лет назад

    Thanks for the update Max! Simple to understand as always :)

    • @academind
      @academind  6 лет назад

      Awesome to read that, thank you so much for your support :)

  • @sc-nc6bb
    @sc-nc6bb 6 лет назад

    what!! rxjs... Great video Academind ;)

    • @academind
      @academind  6 лет назад

      Thank you so much for your comment!

  • @ashishmehradotdev
    @ashishmehradotdev 6 лет назад

    Thanks for making things simple! The best angular instructor :-)

    • @academind
      @academind  6 лет назад

      So awesome to read that Ashish, thank you very much for your fantastic feedback :)

  • @mrclaytron
    @mrclaytron 6 лет назад +1

    Great video Max! It's really exciting to see Angular Elements taking shape. I'm also actually glad RxJS has finally been updated to conform with the import syntax used by all other areas of Angular. I expect intellisense in VS Code will work better for RxJS imports now too (well I'm hoping!)
    Also, I love all your RUclips videos, and I've done a couple of your Udemy courses, which I thoroughly enjoyed - you have a real gift for teaching. Keep up the good work man!

    • @academind
      @academind  6 лет назад

      Thank you so much - and thanks for joining my courses on Udemy! I'm glad you're liking my content! :-)

  • @the_digitalpro
    @the_digitalpro 6 лет назад

    Max would love a short video to describe how the new project workspace and library features work. There is nothing around about this at the moment. Thanks.

    • @academind
      @academind  6 лет назад

      I also think that this would be interesting. I'll have to dig deeper into it myself first though and I also want to wait a bit since new Angular CLI versions tend to be a bit unstable ;)

  • @reiserwasserman1629
    @reiserwasserman1629 6 лет назад

    oh thanks from Russia. it's very useful video. Especially thanks for rxjs, i spent 3-4 hours to find out how to fix my project yesterday.

    • @academind
      @academind  6 лет назад +1

      Great to hear I could help! :-)

  • @sonyguptayourdearestsony
    @sonyguptayourdearestsony 6 лет назад

    Nice video to understand feature of angular 6 Thanks..

    • @academind
      @academind  6 лет назад

      Thank you very much :)

  • @ioannisdeliakos9885
    @ioannisdeliakos9885 6 лет назад

    Great video, thank you for keeping us up to date :-)

    • @academind
      @academind  6 лет назад

      Sure thing - happy to hear you found this video to be helpful!

  • @SampathLokuge
    @SampathLokuge 6 лет назад

    Really awesome! Thanks a lot Max :)

    • @academind
      @academind  6 лет назад +1

      Thank you Sampath, happy to read that you like the video!

  • @codewithnacho
    @codewithnacho 6 лет назад +5

    Great videos! Can you make a video on how Angular can make animations with Canvas

  • @JuanTabares
    @JuanTabares 6 лет назад

    Hi Max thank you so much for these videos!

    • @academind
      @academind  6 лет назад

      Really happy to read that you like the videos Juan, thank you for your comment!

  • @MartinOckovsky
    @MartinOckovsky 6 лет назад

    Again, thank you very much Max.

    • @academind
      @academind  6 лет назад

      Thank YOU for your comment and for your support!

  • @RaghavendraGowda7
    @RaghavendraGowda7 6 лет назад +1

    Thanks for Angular 6 :)

  • @aatanurag
    @aatanurag 6 лет назад

    Gr8, it's really supporting.

    • @academind
      @academind  6 лет назад

      Thank you for sharing this Anurag!

  • @kartheekreddyjonnalagadda1605
    @kartheekreddyjonnalagadda1605 5 лет назад

    Hi, can you please explain how to add custom multiple environment files and how to add those to angular.json file to serve and build

  • @jayaraj8905
    @jayaraj8905 6 лет назад

    Great one... Thanks Max

    • @academind
      @academind  6 лет назад

      Thank you so much! I'm happy that you found it to be helpful!

  • @MrJohn360
    @MrJohn360 6 лет назад

    Thanks for sharing this video.

    • @academind
      @academind  6 лет назад

      Thank YOU for your comment :)

  • @robottrainer
    @robottrainer 6 лет назад +2

    (5) angular-cli.json -> (6) angular.json schema changed too.

  • @sekarnataraj8371
    @sekarnataraj8371 6 лет назад

    Thanks max, this information is very useful

    • @academind
      @academind  6 лет назад

      Great to read that Sekar, thank you for your comment!

  • @sumeetsood232
    @sumeetsood232 6 лет назад

    Hi Max,
    I am getting this error-
    ERROR in node_modules/rxjs-compat/add/observable/dom/webSocket.d.ts(1,10): error TS2305: Module '"D:/Angular 6 code/ng6-update-example-project-starting-code-ng6/node_modules/rxjs/webSocket/index"' has no exported member 'webSocket'.
    src/app/app.component.ts(43,27): error TS2339: Property 'throw' does not exist on type 'typeof Observable'.

  • @hadley8899
    @hadley8899 6 лет назад

    Cheers dude, Helped alot

    • @academind
      @academind  6 лет назад

      Awesome to hear that, thank you so much Ryan!

  • @rammalvarez2664
    @rammalvarez2664 6 лет назад

    Thank you Max! Very useful

    • @academind
      @academind  6 лет назад

      Very happy to read that Ramm :)

    • @rammalvarez2664
      @rammalvarez2664 6 лет назад

      I just ported my website to Angular 6

    • @ashishkpoudel
      @ashishkpoudel 6 лет назад

      can you provide the like to website.

  • @jahulhasan4702
    @jahulhasan4702 6 лет назад

    hello very good tutorials..
    I am facing a problem.
    please help me . i wan to remove a module . when i delete routing of that module and also the directory of that module by doing this i am getting error while i hit ng serve command.... please suggest me ...

  • @rodolfonogueira3528
    @rodolfonogueira3528 6 лет назад

    Awesome video!!!!

    • @academind
      @academind  6 лет назад

      So happy to read that Rodolfo, thank you for your comment!

  • @cyrep
    @cyrep 6 лет назад

    would've been nice to see what alternatives to 'root' there are for the services providedIn property

  • @barjosa31blogspot83
    @barjosa31blogspot83 6 лет назад

    Thank you very much! Really helpful!

    • @academind
      @academind  6 лет назад +1

      Great to hear that - thank YOU!

  • @valikonen
    @valikonen 6 лет назад

    What are options for @Injectable({providedIn: 'root'}), modules name, or what? Thanks for your free informations!

  • @praveenkumarguda4029
    @praveenkumarguda4029 6 лет назад

    Hello Max, thanks for the video. I followed the instructions and changed the code according to the video and after uninstalling the 'rxjs-compat ' I got bunch of errors from angular-material, angular-cdk and angular-flex-layout. Can you please help with this.

    • @academind
      @academind  6 лет назад

      Make sure to update these packages, too - otherwise they won't use the new RxJS import syntax.

  • @Ultriix
    @Ultriix 6 лет назад

    Would love to see a component(etc) rename / move via the ng cli, this is always a pain to update things in large projects.

  • @kwilderful
    @kwilderful 6 лет назад

    How does this affect npm packages that may not have been updated for Angular 6?

  • @Gray-Wolf-Media
    @Gray-Wolf-Media 6 лет назад

    Any chance that you will cover Angular and C#?

  • @ohhhgggeeezzz
    @ohhhgggeeezzz 6 лет назад

    Thanks as always.... I think you are using VC code? How do you get this distinct icon on the side of your files? such as github, typscript, angular icons....?

    • @academind
      @academind  6 лет назад

      Thank you for your comment! I use the Material Icon Theme extension, more about that in this video: ruclips.net/video/VqCgcpAypFQ/видео.htmlm1s

  • @priyas9373
    @priyas9373 6 лет назад

    thank you so much ... this is a very useful video

    • @academind
      @academind  6 лет назад

      Really happy to read that Priya, thank you for your great feedback!

  • @prateek15m
    @prateek15m 3 года назад

    Automating these changes can be done by running npx rxjs-tslint -p .\tsconfig.json

  • @RageBasterd
    @RageBasterd 6 лет назад

    isnt the rxjs changes old. i've already implemented rxjs lettable imports months ago, well good to know that im already set.

  • @pratikpawarnasik
    @pratikpawarnasik 6 лет назад

    Thanx for update

    • @academind
      @academind  6 лет назад

      Thank YOU for your comment Pratik!

  • @bharath9836
    @bharath9836 6 лет назад

    How is your vs code has a symbol of angular (A) but mine don't and also have a folder symbol. Is that a theme or plug in, if yes which one ??? or is it something else??

    • @academind
      @academind  6 лет назад

      I'm using the "Material Icon Theme"

  • @codemylife9121
    @codemylife9121 6 лет назад

    Thanks for the helpfull video Max.

    • @academind
      @academind  6 лет назад

      Thanks again, happy to read that you also like this video!

  • @sarunsimivlog
    @sarunsimivlog 6 лет назад

    May I know which vscode extension are you using for file icons?

    • @academind
      @academind  6 лет назад

      Sure - that's the "Material Icon Theme"

    • @sarunsimivlog
      @sarunsimivlog 6 лет назад

      +Academind Thank you

  • @xTaylorPage
    @xTaylorPage 6 лет назад

    Do you know how to convert from css to sass? It used to be a simple change in the angular-cli.json but now that that file has changed dramatically I don't see how to configure it.

    • @academind
      @academind  6 лет назад

      The approach described on the following page (at the very bottom) should do the trick: github.com/angular/angular-cli/wiki/stories-css-preprocessors

    • @xTaylorPage
      @xTaylorPage 6 лет назад

      Thanks! For some reason running the script wasn't working, but looking up the intended result of running it was enough to manually adjust the config file myself. It's compiling now so that was helpful. Thanks again.

  • @GiorgiBastos
    @GiorgiBastos 6 лет назад

    Max, should I wait for your next Angular version course to be released? I ask this because I was planning to study your Angular 5 course on Udemy and it seems that it is outdated with these changes coming thru.

    • @pillar6programming687
      @pillar6programming687 6 лет назад

      max usually updates the name of the course with the newest versions number as not to lose sales.

    • @academind
      @academind  6 лет назад +4

      Wow, so much negativity. I update the number in the title because the course is up-to-date. Did you ever consider this reason? Might also be why I update lectures (and not just titles) on a regular basis...

    • @academind
      @academind  6 лет назад

      The course is up-to-date. The only thing that changed are the RxJS imports and adjusting them is easy. I already added a couple of lectures that help with that.

    • @GiorgiBastos
      @GiorgiBastos 6 лет назад

      Thanks, Max! That was my only doubt. I was afraid to start a course and those crazy ones at Angular would be changing all the framework just like they did back in the day.
      I am starting to learn your Angular course then.

    • @academind
      @academind  6 лет назад +1

      Awesome! Welcome on board then! :)

  • @avanishmylari6217
    @avanishmylari6217 6 лет назад

    please make tutorial on how to load json data in angular6

  • @Vietnamcamping89
    @Vietnamcamping89 6 лет назад

    I cant use ng-modal in ng-bootstrap :(

  • @tadejdanev5030
    @tadejdanev5030 6 лет назад +4

    Wasn't 5 just released few months ago? DAMN :P

    • @academind
      @academind  6 лет назад +4

      New Angular versions are released every 6 months. This is a good thing though - they're small incremental improvements, not groundbreaking changes.

    • @tadejdanev5030
      @tadejdanev5030 6 лет назад

      www.udemy.com/angular-full-app-with-angular-material-angularfire-ngrx/ this? :)

  • @danpride2804
    @danpride2804 6 лет назад

    Love your stuff, you get the developer perspective. Thanks. But a negative on this one I think, your http get map of map and subscribe looks like greek, theres gotta be a clearer example

    • @academind
      @academind  6 лет назад

      Thank YOU Dan - really amazing to hear that! :-)

  • @lucasterable
    @lucasterable 6 лет назад

    With the pipe() method, the API and its use are not consistent with those of other language ports of RX anymore :/

  • @chelseakaitlyncruz1611
    @chelseakaitlyncruz1611 6 лет назад

    does anyone know how to I integrate this line of code .map(res => res.json()) to the latest version of angular ? thanks

    • @kwilderful
      @kwilderful 6 лет назад +1

      It's not needed anymore with the new HttpClient. It does this behind the scenes.

  • @OMPRAKASH22
    @OMPRAKASH22 6 лет назад

    Please upload a video about HttpClient in angular 6

  • @MrVikas-uj7lk
    @MrVikas-uj7lk 6 лет назад

    Lazy loading not working in angular 6. e.g loadChildren: 'app/dashboard/dashboard.module#DashboardModule' need change to loadChildren: './dashboard/dashboard.module#DashboardModule' but it run simply on "ng serve" but not working on "ng build --prod" or "ng serve --aot"

    • @MrVikas-uj7lk
      @MrVikas-uj7lk 6 лет назад

      showing circular dependency and getting break down

    • @kwilderful
      @kwilderful 6 лет назад

      Circular dependency means that one of your imports is pointing to the same path as your component, which then points back to your import. Fix that, and you won't get that error.

  • @supbra1
    @supbra1 6 лет назад

    Thanks!

  • @gururajmoger8649
    @gururajmoger8649 6 лет назад

    So which one is better either angular or react or vue???

    • @academind
      @academind  6 лет назад

      Pick your favorite! They're all popular, they're all powerful and right now, there is no clear winner - every framework has its strengths.

    • @kwilderful
      @kwilderful 6 лет назад

      They are not comparable. Angular is a framework, React is a library. Don't know about Vue. Use Angular to build your entire website, use React inside an existing website to render views only.

    • @gururajmoger8649
      @gururajmoger8649 6 лет назад

      Learn everything.. I'm angular 1x guy..

  • @the_pippi
    @the_pippi 6 лет назад

    Please, make a video about new support to PWA in 6 version, thanks from Brazil!

    • @academind
      @academind  6 лет назад

      Thanks for the suggestion. I do plan to create some content on Angular SW in the future

  • @nandolcsouza
    @nandolcsouza 6 лет назад +1

    Have I been using injectable wrong all these days?

    • @nandolcsouza
      @nandolcsouza 6 лет назад

      Yes, I have just wwatched your DI video (ruclips.net/video/Mz8lb81AAe4/видео.html) and realised that I have decored all my services with Injectable() decorator.

    • @FloppyDisk0
      @FloppyDisk0 6 лет назад +2

      You are not alone... :D

    • @ievgenaznaurov
      @ievgenaznaurov 6 лет назад +1

      You did nothing wrong. There was a recommendation from the beginning to use Injectable decorator every time for the sake of consistency and to make it harder to make stupid mistakes with injection :)

    • @nandolcsouza
      @nandolcsouza 6 лет назад

      Eugen Aznaurov thank you!!!!

  • @destructhit
    @destructhit 6 лет назад

    Are Max using a push notification when a framework gets an update?

    • @shashankbhattacharya8391
      @shashankbhattacharya8391 6 лет назад

      He know some folks in Google Angular Team...I guess

    • @academind
      @academind  6 лет назад +1

      We had the chance to meet Abe from the Firebase team last year, but unfortunately I don't know anybody from the Angular team. I just follow along the news, check Github etc. to make sure I can keep you updated as soon as possible :)

  • @rahulvanmali1406
    @rahulvanmali1406 6 лет назад

    Is it necessary to use observable and rxjs library in every project because I struggle a lot !

    • @johansrk
      @johansrk 6 лет назад

      you will need it for ajax. So yes. Pretty much all projects will need it

    • @Phiiiiiiiiiiiii
      @Phiiiiiiiiiiiii 6 лет назад

      State manager is a must for any front-end project now.

  • @dreich_andrey
    @dreich_andrey 6 лет назад

    Good diction.

  • @bruno_py
    @bruno_py 6 лет назад

    Hello Max! I was wondering if you will dive into Flutter.io?! I would like to hear at least your opinion on it...

    • @academind
      @academind  6 лет назад +1

      It's definitely interesting, but in my opinion still in a relatively early stage. But we might create content about it in the future, yes.

  • @TheSysmat
    @TheSysmat 6 лет назад

    Using rxjs-5-to-6-migrate

  • @sarveshm6779
    @sarveshm6779 6 лет назад

    I hope they put AI in Angular, so Angular will start improving by itself and will launch new version by itself every month.

  • @amrabdulaziz2253
    @amrabdulaziz2253 6 лет назад

    I see this is a bad change, in respect of syntax

    • @academind
      @academind  6 лет назад +1

      I actually don't think so - the imports are now way easier and you don't have 1,000s of different ways of importing stuff (I assume you are referring to RxJS)

  • @macaronikid5705
    @macaronikid5705 6 лет назад

    Unbelievable. CHURN CHURN CHURN. How the hell is somebody supposed to have a production website, while the underlying tools are changed every 6 months??

    • @academind
      @academind  6 лет назад

      As mentioned in the video, the changes are actually minimal - and that was the case for 2=>4 and 4=>5, too :)

  • @tear728
    @tear728 6 лет назад

    I feel like they pump out new versions too quick. Kind of over engineering stuff.

    • @andyelgrand0
      @andyelgrand0 6 лет назад

      I would say the other way round... they under uengineered before, and now its fixing issues like size ,etc.

  • @kuldeepadhikari3849
    @kuldeepadhikari3849 6 лет назад

    this error wasted my 3 hours today .. pain in the ass when u are learning angular !

  • @naspy971
    @naspy971 6 лет назад +21

    That's why I don't learn Angular, once you're done learning a version, BAM, new version pops up !! Not for me at all, I'll stay with vue tho...

    • @naspy971
      @naspy971 6 лет назад +4

      U're absolutely right dude, I've only been reading about it and and watching new versions come out like every day... Tech evolves so rapidly, but for the angular case, that tends to lead ppl to a "tech fatigue"... but again, that's just MY opinion among thousands other ones...

    • @YouBetterBeJedi
      @YouBetterBeJedi 6 лет назад +15

      what a stupid comment

    • @bill18286
      @bill18286 6 лет назад +21

      Angular hasn’t had a massive change since Angular 2.

    • @RomanLyubimov
      @RomanLyubimov 6 лет назад +16

      Lol, react has 16 versions

    • @sivuyilemagutywa5286
      @sivuyilemagutywa5286 6 лет назад +5

      you are missing out

  • @epajarjestys9981
    @epajarjestys9981 6 лет назад

    Hello!
    Thanks for the informative video.
    I have one proposal. Fix your horrible German accent with this one simple patch:
    Pronounce English 'v' like German 'w', not like German 'uo' (or something like that).
    Crass example: @16:49 "available" -- you pronounce it like "awailable" (or "aouailable"). That sounds so terrible, it hurts.
    This simple upgrade of your English language package could save the ears of thousands of viewers.
    Keep up the good work and may the force be with you!

    • @academind
      @academind  6 лет назад

      I'll try my best to keep up the content quality but there's not too much I can do about the accent I fear. If you find it horrible, this might be a bad channel for you overall :/

    • @epajarjestys9981
      @epajarjestys9981 6 лет назад

      Come on, grumpy German, you can take some tongue-in-cheek criticism with some humour!
      You can do it! Practice makes perfect.
      Say "available" (not "awailable") ten times. Hire someone to slap you everytime you say "awailable" (or something like that). It's a simple fix!

    • @CodingAbroad
      @CodingAbroad 6 лет назад

      I find his accent nice and easier to follow than other instructors. He doesn't err or ermm like many others. I don't agree with you.