Dharmen Shah
Dharmen Shah
  • 10
  • 7 844
How to share an Angular Component with URL
Learn how to spot and eliminate duplicate sources of truth in your Angular apps.
In this video, we will learn how to share an #angular component with URL, so that anyone can view the same data. We will also understand that we don't need form control every time we have a form, we simply use property binding and native events to handle functionalities. We will also learn about usages for angular router snapshot, withComponentInputBinding function, input signal, effect function, and much more!
0:00 Intro
1:08 - Syncing URL with valueChanges
02:47 - Syncing value with activatedRouteSnapshot
4:33 - The bug we introduced
9:18 - Why the URL is the source of truth
10:50 - Removing usage of form & add input signal to derive search text from URL
12:24 - Update route on user input
13:16 - Mimic formControl using new class
17:20 - How to spot duplicate sources of truth
Angular Material 3 Theming System: Complete Guide: angular-material.dev/courses/overview/m3-ng-components
x.com/shhdharmen
x.com/ngMaterialDev
React video: ua-cam.com/video/fYqMPvPvVAc/v-deo.htmlsi=uPRJBrpo8rMwXfPB
Переглядів: 295

Відео

Generate Angular Material Theme from just an Image using Theme Builder!
Переглядів 2192 місяці тому
Theme builder is a tool for Angular developers who are using Angular Material 18 in their project. This tool allows you to build, preview and export themes for Angular Material. You can also share themes simply by using a unique link with your team of developers or designers. In this video, I am going to talk about the new feature, which will allow users to generate whole Angular Material theme...
Angular Material 3 Theming System: Complete Guide
Переглядів 1,2 тис.2 місяці тому
In this video, I am going to discuss about my newly launched course, i.e. Angular Material 3 Theming System: Complete Guide. Link to course for Angular Material 18: angular-material.dev/courses/overview/m3-ng-components Link to course for Angular 15, 16, 17: angular-material.dev/courses/m2-ng-components/m2-ng-components/overview Link to article for Angular 13, 14: angular-material.dev/articles/...
Modify Angular Material (v18) themes with CSS Variables using Theme Builder
Переглядів 5 тис.4 місяці тому
Theme builder is a tool for Angular developers who are using Angular Material 18 in their project. This tool allows you to build, preview and export themes for Angular Material. You can also share themes simply by using a unique link with your team of developers or designers. In this video, I am going to explain how to use CSS variables (or CSS Custom Properties) to modify Angular Material them...