MENU

Fun & Interesting

How to Make Forms in Angular REUSABLE (Advanced, 2023)

Decoded Frontend 77,581 lượt xem 1 year ago
Video Not Working? Fix It Now

‎Advanced Angular Forms Course 🚀
https://bit.ly/advanced-ng-forms-discounted

Forms in Angular are crucial features that we can't avoid in our applications. It happens so often that we have to reuse some form controls or even entire form control groups within our applications. However, it is not as straightforward as it seems because the design of Angular Forms doesn't allow you to simply extract things in a separate component. In this video, I will show you how to reuse forms and not suffer from unnecessary boilerplate.

I hope you will like the video and if so, please share it with your friends and colleagues. Enjoy!

💁 If you want to support the channel:
https://bit.ly/donate-to-decoded-frontend

💁 Source code of the tutorial
https://github.com/DMezhenskyi/shared-angular-forms

💡 Short Frontend Snacks (Tips) every week here:
Twitter - https://twitter.com/DecodedFrontend
Instagram - https://www.instagram.com/decodedfrontend
LinkedIn - https://www.linkedin.com/in/dmezhenskyi

🕒 Time Codes:
00:00:00 - Intro;
00:01:11 - Standard Solution;
00:05:20 - FormControlName directive internals;
00:09:53 - Making Form Group Reusable;
00:18:28 - Advanced Angular Forms Course Overview;
00:20:09 - How to support the channel/outro;

#angular #webdevelopment

Comment