Standalone Components and Optional Modules in Angular

💥 Angular courses made by Dmytro - https://bit.ly/df-courses 💥
✂️ Use coupon YOUTUBE_DISCOUNT to get a 10%-off discount ✂️

Angular framework always evolves and gets better and better with every release. This time really big changes are coming! One of the most significant changes is Standalone components that allow us to build angular applications without @NgModules. Yes, it is still in Developer Preview mode, so the API might change but we can see already the direction and play around with it and start adjusting our libraries and projects. What do you think about it? Let's discuss it in the comments!

🕒 Time Codes:
00:00:00 - Intro;
00:00:28 - Motivation and Project onboarding;
00:04:58 - Updating project to Angular 14;
00:07:46 - Make the first Standalone component;
00:14:42 - Lazy-Loading and Standalone components;
00:19:00 - Bootstraping application without NgModule;
00:23:19 - Outro;

Initial project state on GitHub:
https://github.com/DMezhenskyi/angular-standalone-components-example

Finished project state on GitHub:
https://github.com/DMezhenskyi/angular-standalone-components-example/tree/standalone-components

↙️ Short Frontend Snacks every week here:

Twitter - https://twitter.com/DecodedFrontend
Instagram - https://www.instagram.com/decodedfrontend
LinkedIn - https://www.linkedin.com/in/dmezhenskyi

#angular #webdevelopment #ng

Home