Це відео не доступне.
Перепрошуємо.
Top 10 Tips For New Angular Developers
Вставка
- Опубліковано 18 сер 2024
- Angular 8 is out and a lot of people are jumping on the Angular band wagon. I created this video to help new and old angular developers be better. All the tips will help you become a better Angular developer!
Make sure to check out MongoDB - go.thoughtleade...
Course You Should Check out!
Check out the 100 Front End Interview Question Challenge here - bit.ly/2NM9GAm
Other courses I like on Udemy -
The Complete 2019 Web Development Bootcamp - Angela Yu - bit.ly/2ADKEKD
Colt Steel Web Dev Bootcamp - bit.ly/2zP4alw
Wes Bos Course on React.js - bit.ly/2BctxOE
Any other course! Click here for Udemy - bit.ly/2DKTidA
-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆
► LEARNING TO CODE? CHECK OUT THESE COURSES! (SOME ARE AFFILIATE)
JAVASCRIPT ALGORITHMS COLT STEELE'S COURSE - bit.ly/2L8HSPV
THE WEB DEVELOPER BOOTCAMP (GREAT FOR BEGINNERS) - bit.ly/2zP4alw
THE ADVANCED WEB DEVELOPER BOOTCAMP - bit.ly/2h53MYg
THE ULTIMATE VUE JS 2 COURSE - bit.ly/2CTvsvx
CHECK OUT THIS COURSE - Angular 6 - The Complete Guide - bit.ly/2sCMxWm
VUE.JS + NUXT.JS (Two Courses In One) - bit.ly/2LalQka
► Wes Bos's Courses!
REACT FOR BEGINNERS - bit.ly/2BctxOE
ES6 - bit.ly/2iF4YT3
LEARN NODE - bit.ly/2jKLYpE
___
► GET THE FIRST CHAPTER OF MY NEW BOOK Vue.js in Action! SIGN UP HERE! - bit.ly/2GWWuEw
GET MY LAST BOOK EMBER.JS COOKBOOK! - goo.gl/LEIdSc
GET MY NEW BOOK VUE.JS IN ACTION - goo.gl/qohSPs
___
MY WEBSITE - www.programwith...
MY TWITTER - / erikch
MY FACEBOOK - / programwitherik
Angular Tips do you have any?
The rxjs library provides the subsink functionality you talked about out of the box using the Subscription class.
- never subscribe/unsubscribe as much as possible, make angular do that for you.
- you can do fire-and-forget subscription with take(1)
- use :host { display: block or flex or grid } so you don't need to wrap your component template in
ng-content
What about thé async pipe to avoid subscribing at all ?
Maybe you would do a course for angular or a series of useful tricks with examples and a detailed description?
That's a good idea!
For first tip, I am working on a big app, and I found out segregating each component in its own shell is helpful specially for maintenance, if I use service a lot its difficult to see its impact on multiple places.
Hi Erik, This video was quite useful. I'm switching careers and learning to become an angular developer. Your video helped guide me on things I should focus as part of my learning.
Hey .will you join in the switching career path.I am also learing Angular.
@@zaidtahseen2384 sure.
@@Overlord_Rahul share me your contact like whatsapp or facebook.
Finally someone to end my doubts.
I'm currently working on my biggest project in Angular and I've come across "State Management" again and again during planning.
But in my eyes this would have done more work for my purposes. Nevertheless I often read during my research how important and powerful these "State Management" libraries are.
Somehow the common libraries for state management in Angular are also unnecessarily complicated IMO. With Ember (ember-data) I liked the approach much better and more logical in the code for me. So far I had no problems using only services and now your last point has strengthened my choice.
Thanks for the video :)
You are welcome! Yes, I agree, stick with services unless your app grows to large and you must have ngrx.
you can use NGXS package for state management, I use this to my project please check this out
Truth is, most applications just don't need NgRx or NGXS. It is really just for enterprise solutions or applications with a very complicated data flow. Most typical CRUD apps just don't need it. It will mostly add unnecessary complexity and will cost you time and nerves. Stick with good old services and it will keep you application simple and you will enjoy developing it.
Screenshots are not clear. It would be great if they can be focused at least in the future materials. Thanks 👍🤘
Will do
Tips 4 - Correct me if i'm wrong!
Private makes the integration of Angular Universal not possible, making 'public' website not SEO friendly, and that's quite sad. I had to refactor a whole project to make every private field to public because the build on ssr couldn't be achieved.
Transclusion is my jam.
What happens if you haven’t set public or private on your methods? I’ve never seen that done on the tutorials I’ve followed
Can you please tell me easy way to State management in Angular
You can make your own store manage service with subhet and subject behaviour....
@@isuggest6561 This!
Would you please elaborate more on Tip 6? Any blog article or something with some example to get more idea for newbies like me coming from OOP background?
Thnx.
I found this pattern from my buddy Dylan Israel, using classes instead of interface. I'll have to do a video on it.
Cool. Enjoyed the content! Thanks!
Thanks!
Wow I thought u were only a Vue and Ember advocate until now !
Unsubscribe is a great tip, I most of the time forget to add that piece of code. Thanks for adding that, tip might be small but helpful.
Yes rxjs is very confusing at times specially when they are using their own paradigm/keywords which are diff than what you traditionally learned, I for a fact don't like to learn a concept which is particular to a language as you end up with language dependency( not that I try, its just an inside voice :) ).
with rxjs you can use take or takeUntil to automatically unsubscribe right?
Every video on this channel is gold.
Thanks!
Hi, Erik which does you prefer in your personal opinion. Angular or Vue.
Vue!
good video
20:00 NgXs...much better 😁
Security