Posts with #AngularTips

#AngularTips

Public posts on X that use #AngularTips.

Related hashtags

  1. PushBased✓@PushBased
    @PushBased
    @Enea_Jahollari 4/5 💡 Note: If you're using the TransferHttpCacheModule, just remove it - it's now provided by default. For more in-depth details and code samples, visit the blog post: [link to the blog post] #AngularTips #WebDev #Programmers
    106130
  2. angular.love✓@AngularLovePL
    Get familiar with these 3 practical Angular 21.1 updates! 👇 ✅ Multiple Switch Case Matching ✅ Support for Spread Operators ✅ Signal Forms: The [formField] Directive Share this post so that other devs can stay updated! 💌 #angular #angular21 #angulartips
    Download
    0116567
  3. Michiel Kikkert 🅰️@Dutch_Guy
    #angulartips - Use dumb, pure components for stuff that repeats a lot in your templates. - Use reactive composition and viewmodels with async pipes over local subscriptions and component variables. - Try not to fall back to Promises but instead invest time in learning RxJs.
    208
  4. Mario Casari✓@mario_casari
    Angular tip💡: Use the async pipe to automatically handle unsuscribing of observables. 🟥You can avoid this: subscription: Subscription; ngOnInit() { this.subscription = ... } ngOnDestroy() { this.subscription.unsubscribe(); } #Angular #AngularTips
    20121.8K
  5. Mario Casari✓@mario_casari
    @mario_casari
    🟩And do it this way instead: Imagine a service method that returns some data as an observable: ... data$ = this.dataService.getData(); ... Use the async pipe in the template: <div *ngIf="data$ | async as data"> ... </div> #Angular #AngularTips
    002130
  6. Mario Casari✓@mario_casari
    Angular tip 💡: if it's not strictly necessary, avoid two-way binding ([(...)]). ❌It hides data flow ❌Tight coupling with component logic ❌It's harder to debug ✅You can use one-way binding instead, using explicit events. #Angular #AngularTips
    103176
  7. Angular SENEGAL@AngularSenegal
    📌📌📌 #angulartips by @mmomarndiaye
    Momar NDIAYE @mmomarndiaye
    ** 🆁🅾🆄🆃🅴.🆂🅽🅰🅿🆂🅷🅾🆃.🅿🅰🆁🅰🅼🅼🅰🅿 ** 1. When to use route.snapshot.paramMap ? If you are sure you will not update your URL parameter within the same component you are accessing it, then you can use the snapshot #angular @AngularSenegal #100DaysOfCode #techman
    023
  8. Momar NDIAYE✓@mmomarndiaye
    ** 🆁🅾🆄🆃🅴.🆂🅽🅰🅿🆂🅷🅾🆃.🅿🅰🆁🅰🅼🅼🅰🅿 ** 1. When to use route.snapshot.paramMap ? If you are sure you will not update your URL parameter within the same component you are accessing it, then you can use the snapshot #angular @AngularSenegal #100DaysOfCode #techman
    Download
    112
  9. Vishwajit Sayambar@vishwaSayambar
    🅰️ Angular Hack: Simplify your component templates with ng-container! 🧩 ✨ Instead of adding unnecessary divs or elements for structural directives, use ng-container to keep your HTML clean 😄🚀Cleaner templates = happier developers! #AngularTips #WebDev #CodeSimplicity
    Download
    00268
  10. NG Tutorial 🔥@NG_Tutorial
    "Angular devs, remember, for optimal error handling & logging, leverage 'HttpErrorResponse' for server-side issues. Use Angular's 'ErrorHandler' class for client-side. Consider logging services like LogRocket for detailed insights. #AngularTips #DevCommunity" ✍ @openai
    01141.2K
  11. Chau Tran✓@Nartc1410
    #angulartips When building reusable components, provide CSS Variables for styles that aren't related to the Component's variants (like Primary, Accent, Danger, Warn, etc...). This allows for the consumers to achieve some one-off customizations with Style Binding (Ivy) @angular
    Download
    51279
  12. Vishwajit Sayambar@vishwaSayambar
    🅰️ Angular Pipe Tip: Create custom pipes for data transformation! 🔀 🎯Need to format data in your Angular templates? Create a custom pipe! Build reusable pipes to make your code clean and data manipulation a breeze! 💪🚀 #AngularTips #WebDev #CustomPipes
    Download
    00394
  13. NG Tutorial 🔥@NG_Tutorial
    "Angular devs, for efficient error handling and logging, use a central service like ErrorHandler. It catches all errors and provides a control mechanism. Use tools like StackDriver or Sentry for tracking issues in production. #AngularTips #ErrorHandling #Logging" ✍ @openai
    03211.6K
  14. Kevin Davila✓@kevindaviladev
    Hola! Hoy tenemos nuevo #AngularTips esta vez hablamos de cómo manejar el clipboard del dispositivo con Angular, SIN LIBRERÍAS 🤩🤩 Y es tan fácil que basta con UNA línea de código... seguro te sirve en tus proyectos Rt y Like ayudan mucho :) @angular
    039
  15. Show more posts