Top 5 Tips to Learn Angular - Advices You Need to Know

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
i am using angular in production already more than four years this is why i want to share with you my five tips how to learn angular and use it better [Music] the most important thing that you can learn in angular is typescript first of all it's the most popular static wrapper around javascript secondly angular is written with typescript which means you can't really use angular on a good level if you don't know typescript on a good level and also it's important to learn typescript because you can use it later not only with angular but with other frameworks because more and more companies want to use typescript for their projects because it is safe and scalable and the most important part here is that a lot of developers don't learn typescript properly they just jump inside angular and it is completely possible to write code in angular without really thinking about typing because typescript will figure out it on its own or you simply write typescript like you are writing javascript you should not do this because it's not enough to use from typescript just several interfaces inside the application or fix typescript problems with any first of all you must understand how you can debug typescript and fix its error because typescript is there to help you not to bother you this is why fixing it with any is nothing good for you or your project the second important thing to master inside angular is riggs chess and this is the additional library to work with streams and the main point is that the whole angular framework is written with usage of rick's chess and actually the whole functionality of angular waits that you will use rick's jazz the main problem is here that a lot of people are coming from playing javascript or react inside angular and they never worked with streams and they try to use concepts that they know from javascript or react inside angular and it just doesn't work it doesn't work if you will write everywhere promises it's not how angular was planned and you can't really just throw a bunch of properties inside and have a reactive project this is why the correct way here is first of all to learn rxjs and secondly to use it almost everywhere because actually you can make whatever you want with streams for example you can listen for dom events you can also make api calls or maybe you need to store some data inside services and actually streams observables and subjects can help you a lot with it one more important thing to learn is dependency injection and the problem is exactly the same like before we don't have dependency injection feature inside other frameworks especially in javascript that often this is why people are just used to have imports or experts inside javascript and they don't know how dependency injection modules are working so actually you need to learn this really deeply so you need to understand how we create modules how we can make dependencies of our modules how we are isolating our components and services and how we can share them without this knowledge you can't really use angular on a good level the next important point is ngrix and actually this is the additional library for state management and by default inside angular we have just services which is a plain classes where we can store some values and share them between our components but actually it is not enough if you are building big scalable applications you need some architecture and actually services are super low level and they don't give us any architecture this is why we have ng rigs this is really popular solution which leverages usage of redux which is the popular pattern for single flow of data and state management inside our application and actually a lot of big companies are using ngrix because this is really nice and scalable solution with actions effects and reducers which gives you a really high architecture of creating state management on client there is one thing which is really awesome inside angular and this is angular forms so actually you have template forms and reactive forms which actually means that in a matter of minutes you can create a really nice and complex forms and this is especially important because you can use reactive forms which are working directly with streams which actually means that you must take your knowledge of rick's chat that you already learned and use it inside angular forms and then you can combine different types of data for example your streams from the forms with your streams from backend for example and this is really efficient and here is a bonus point for me you need to learn what is change detection inside angular and how it is working there are different strategies for change detection inside angular and by default we don't have the best approach this is why you need to understand how we can disable change detection for different components and how you can react on changes manually and trigger them in this case your angular applications will be really fast and efficient so these were my five tips how you can improve angular knowledge and actually if you want to see how to build a real angular application don't forget to check this video
Info
Channel: Monsterlessons Academy
Views: 30,273
Rating: undefined out of 5
Keywords: monsterlessons academy, top 5 tips to learn angular, top 10 tips to learn angular, top 10 tips to learn angular 8, top 10 tips to learn angular 9, top 10 tips to learn angular 10, top 10 tips to learn angular 11, how to learn angular easily, how to learn angular step by step, learn angular, how to learn angular fast, best tips to learn angular, what to learn in angular, top 5 tips to learn angular 8, top 5 tips to learn angular 10
Id: uThQCnqn1pU
Channel Id: undefined
Length: 5min 23sec (323 seconds)
Published: Tue Jul 13 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.