Angular Addicts Issue #5: New features in Angular 14.2, Bundle size optimization, Tutorials & more
Gergely Szerovay
Posted on September 22, 2022
π Hey fellow Angular Addict
This is the 5th issue of the Angular Addicts Newsletter, a monthly collection of carefully selected Angular resources that got my attention. (You can read the first, second, third and fourth issue here.)
Letβs learn Angular together! Subscribe here to the Angular Addicts newsletter π₯
π Angular Gems of August, 2022
π° Why Angular 14βs new inject() function is so amazing?
The inject()
function was introduced in Angular 14.0, it takes an InjectionToken
as a parameter and returns its value from the currently active injector. In his article, Vlad Gheorghita shows multiple different use cases for this new feature.
π° The Ultimate Clean Architecture Template for TypeScript Projects
Aziz Nal shares a Typescript project architecture that allows your code to be independent of frameworks, databases, or UIs and makes your code more testable. In his second article, he demonstrates an Angular project based on his template.
π° Optimize the Bundle Size using Source Map Explorer
Mohammedfahimullah demonstrates how to analyze the bundle size of an Angular application, then shows us some interesting optimization techniques.
π° Design systems: Prototyping on steroids
In his article, DaniΓ«l De Wit explains how their team creates high fidelity prototypes based on their own design system, using Angular.
π’Release and deprecation announcements
π’ Angular 14.2.0 is out
Netanel Basal covered the most interesting new features in the following articles:
- Using Angular NgOptimizedImage to Implement Image Loading Best Practices
- Using the Angular Router API without RouterModule
- Getting to Know the createApplication API in Angular
π’ The State of end-to-end testing with Angular by Mark Thompson (@marktechson)
The Angular Team deprecated Protector, its last release will be released in Angular v16.
π’ Nx 14.5 β Cypess v10, Output globs, Linter perf, React Tailwind support
Juri Strumpflohner summarizes the changes in the latest version of NX:
- Cypress v10 and Component Testing
- Globs for Task Outputs in nx.json
- Parameter Forwarding when building dependent projects
- Nx module boundary lint rule feature improvements, it got an order of magnitude faster
- Nx Migrate improvements and Nx Repair
- Tailwind Setup Generator for React
- React Native: Add Detox config to Expo apps
π¨βπ« Tutorials and guides
π¨βπ« How To Quickly Get Started With GraphQL in Angular
Haroun Chebbi walks us through the setup of an Angular project with Apollo Angular and Angular Material, then creates a country list application.
π¨βπ« What is App monitoring?
Bhoomi Bhalani explains the importance of application monitoring and demonstrates how to set up Sentry for an Angular app.
π¨βπ« How to create your own Angular Tooltip Directive
In his tutorial, Piotr GoΕofit shows us how to create a lightweight, plain HTML/CSS based tooltip directive in Angular.
π¬ Tweets
Here is a collection of my favorite tweets from August, 2022:
Chau Tran@nartc1410Testing the NgOptimizedImage directive in @angular 14.2 out and it's π₯. Free performance gains with extremely less effort. Awesome effort by #GoogleAurora and #Angular for bringing this Directive to the community
Note: This is a very simple page: 5 images with 5 different sizes twitter.com/angular/statusβ¦09:30 AM - 26 Aug 2022Angular @angularGuess what? v14.2 is out now! ng update for: β Developer Preview of a new Image Directive in collaboration with @ChromiumDev π β CDK Listbox is stable β ng serve with service-worker support β Developer Preview of standalone support in @angular Elements + more! https://t.co/y0FAJxFN2M
Enea Jahollari@enea_jahollariHere's an example of functional guards that just landed in #angular v14.2.
Yes, we can use inject function inside the guard function.
How? Because the guard function will be executed in an injection context.
Thanks to @AScottAngular π₯³08:24 AM - 26 Aug 2022
Introducing chooseyourframework.dev: a cute lil retro/8bit helper for choosing a JavaScript UI framework. πΉ
π» The game is built on a custom game engine made for retro games, and the whole site takes up <256 kB *uncompressed*. β‘οΈ
#javascript #angular #react #solid #svelte #vue21:46 PM - 25 Aug 2022
#Angular standalone components make storybook stories much simpler to write π€©
See the comparison between:
- Without standalone
- With standalone
I took the example stories from storybook: github.com/storybookjs/stβ¦05:30 AM - 17 Aug 2022
πββοΈWho is behind Angular Addicts?
My name is Gergely Szerovay, I work as a frontend development chapter lead. Teaching (and learning) Angular is one of my passions. I consume content related to Angular on a daily basis β articles, podcasts, conference talks, you name it.
I created the Angular Addict Newsletter so that I can send you the best resources I come across each month. Whether you are a seasoned Angular Addict or a beginner, I got you covered.
Next to the newsletter, I also have a publication called β you guessed it β Angular Addicts. It is a collection of the resources I find most informative and interesting. Let me know if you would like to be included as a writer.
Letβs learn Angular together! Subscribe here π₯
Posted on September 22, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
October 29, 2022
September 22, 2022