Wojciech Trawiński, the author of this article, was recently working on a task requiring filtering and sorting data on the frontend side. He came across an issue that he wanted to debounce user input in order to decrease the number of filter and sort operations. However, the initial operation should be performed as soon as possible (without debounce).
Angular is a great framework and can be used for developing large scale applications, but can be tricky to fine tune and achieve good load time and run-time performance. In this post, The author of this article will detail some best practices he has learned along the way, so you will not make the same mistakes he made.
In this article, we will see what actually view encapsulation is? How it is working? What are the types of view encapsulation available in angular? What is Shadow DOM? Does angular application support the scope for styling, even though the browser doesn’t support shadow DOM? We will see this entire list of questions in details one by one!