Angular 🇺🇦 - practical notes
Kanalga Telegram’da o‘tish
Angular - practical notes This group is for posting practical notes for Angular developers. Mostly all posts are for quick implementation https://t.me/angular_practical_notes (Commenting on posts only in ENG and UA langs here). Welcome!
Ko'proq ko'rsatish1 631
Obunachilar
Ma'lumot yo'q24 soatlar
+17 kun
Ma'lumot yo'q30 kun
Postlar arxiv
📄 Create Paginated, Sortable and Filterable Endpoints with NestJs Decorators
#nestjs #decorator
✅ Article link: https://medium.com/@bhkfazano/how-to-create-paginated-sortable-and-filterable-endpoints-with-nestjs-fde6315c8466
📄 Replace Getters with Signals
#angular #signals
✅ Article link: https://blog.herodevs.com/goodbye-getter-hello-signals-12da633e15a2
📄 Design Patterns: Map Strategy
#ts #patterns
✅ Link: https://levelup.gitconnected.com/avoid-switch-case-chaos-harnessing-strategy-pattern-and-union-types-in-typescript-2d81c2d9dc1
🤓 Create Reusable
DataTable Component
#angular #ngTemplateOutlet #ui_element
The goal is to make a reusable component that can be shared across the app and is highly configurable by the parent component.
✅ Article Link:
https://medium.com/null-exception/building-angular-reusable-components-using-ng-template-ngtemplateoutlet-ngtemplateoutletcontext-f8813b67cd1f
🎁 Code Link:
1. https://gist.github.com/vikas0sharma/ddff8060b8c2d9275eac75b009fdfbf1#file-data-table-component-ts
2. https://gist.github.com/vikas0sharma/8ceb9b1ecfd08fa710d802351ab5bcf5#file-data-table-component-html
3. https://gist.github.com/vikas0sharma/3ecfa0913dcb4e14e8b99f43fa915c94#file-employess-component-ts
4. https://gist.github.com/vikas0sharma/4b66b931499fc587ca09a15ff55a92ad#file-employees-component-html📄Useful Decorators
#ts #decorator
✅ Article link: https://javascript.plainenglish.io/5-javascript-decorator-tricks-that-will-catch-your-eye-a31a717f5497
📄 Angular Proxy: How to Bypass CORS Errors in 3 steps
#angular #proxy #errors
✅ Article link: https://medium.com/@navneetsingh_95791/angular-proxy-how-to-bypass-cors-errors-using-proxy-conf-json-7ee80509d399
🤓 Customizing Dialog API
#angular #dialog
✅ Article Link: https://abderrahim-issaoui.medium.com/easier-faster-better-building-modals-in-angular-with-the-dialog-tag-53cd30785b47
📄 Building a Text-To-Speech with JavaScript in 3 Easy Steps
#js #SpeechSynthesisUtterance
✅ Article Link: https://blog.bitsrc.io/building-a-text-to-speech-application-with-javascript-in-3-easy-steps-fdf6aeddfb68
📄 Testing API services in Angular
#angular #jest
✅ Article Link: https://itnext.io/testing-api-services-in-angular-1ea77cd94460
📄 Custom Operators in RxJS
#angular #rxjs
✅ Article Link: https://medium.com/@navneetsingh_95791/custom-operators-in-rxjs-for-angular-applications-building-and-utilizing-your-own-operators-b5c281f979a1
📄Functional Patterns: Monoid
#angular #patterns #monoid
✅ Article Link: https://betterprogramming.pub/monoids-in-typescript-132319fc361f
📄 Log Observable Property Decorator
#angular #decorator
✅ Article Link: https://netbasal.com/inspiration-for-custom-decorators-in-angular-95aeb87f072c
🎁 Code Link:
Decorator:
https://gist.github.com/NetanelBasal/e457750f0235adcbead10cd28f609384#file-do-decorator-ts
Usage:
https://gist.github.com/NetanelBasal/d07658a3502086fb469d8cba1fcdbb97#file-do-usage-decorator-ts
📄 Simulate a Mouse Click With JavaScript
#js #MouseEvent
✅ Article Link: https://medium.com/coding-beauty/javascript-simulate-click-e55b8b640fa4
📄 Throttle Decorator
#angular #decorator
✅ Article Link: https://netbasal.com/inspiration-for-custom-decorators-in-angular-95aeb87f072c
🎁 Code Link:
Decorator
https://gist.github.com/NetanelBasal/db13a56407c76db8fe55d590ca4760c3#file-throttle-decorator-ts
Usage:
https://gist.github.com/NetanelBasal/0fcd8ed554c1ae7c9f961766db7465ac#file-throttle-usage-decorator-ts
📄 Angular custom webpack config in 3 steps:
#angular #webpack
✅ Article Link: https://netbasal.com/customize-webpack-configuration-in-your-angular-application-d09683f6bd22
📄 Optimize
*ngFor with a custom directive
#angular #directive #ngFor
✅ Article Link: https://levelup.gitconnected.com/angular-optimize-ngfor-with-a-custom-directive-3e39504000cd
🎁 Code Link:
ngForTrackById directive:
https://gist.github.com/Sw3eks/b4aa3f6c0a0d8e17dab5f38e3840c67f#file-ngfor-trackby-directive-ts
https://gist.github.com/Sw3eks/af3f14190fe2bb962b1d38ad0f6c098e#file-ngfor-trackby-usage-html
ngForTrackByProperty directive:
https://gist.github.com/Sw3eks/d6ef46242fdee83d4e65da6a0e011e9e#file-ngfor-trackbyproperty-directive-ts
https://gist.github.com/Sw3eks/18b22674c54822806a9d23fa7215204d#file-ngfor-trackbyproperty-usage-html📄 Angular Utilities: call pipe
#angular #pipe
✅ Article Link: https://medium.com/@mikekucherov92/angular-utilities-call-pipe-23b6ada72b93
📄
FormControl validation errors using pure pipe
#angular #pipe #errors
✅ Article Link: https://max-syniuk.medium.com/handle-angular-form-control-validation-errors-using-pure-pipe-7c3a874ce77
🎁 Code Link:
- Pipe
https://gist.github.com/maksym-syniuk/c2a8bba5144e05e3edce19e81d998706#file-control-error-handler-pipe-ts
- Use case
https://gist.github.com/maksym-syniuk/972aaf537c9bffaf30d43a5ede380046#file-app-component-html📄 RunOutsideAngular decorator
#angular #decorator #ngZone
✅ Article Link: https://emilgadzaev.medium.com/achive-better-angular-application-using-typescript-decorators-9e0eb01ad72d
📄 Binding CSS Variables in Angular
#angular #directive #css_variables
✅ Article Link: https://netbasal.com/binding-css-variables-in-angular-69dfd4136e21
🎁 Code Link: https://gist.github.com/NetanelBasal/8abfd1dc1ce85bdc41ee0d9fd41d0781#file-css-var-4-ts
