Angular Munich – Telegram
Angular Munich
178 subscribers
553 photos
41 videos
9 files
705 links
Stay up to date with Angular Framework ;-)

Need more: https://linktr.ee/ngxsamurai
Download Telegram
#ToDo for Weekend!

https://yhype.me/

![](https://komarev.com/ghpvc/?username=<GH_USERNAME>&style=for-the-badge&label=PROFILE+VIEWS&abbreviated=true)



Example for "profile views": https://github.com/DerHerrGammler
This media is not supported in your browser
VIEW IN TELEGRAM
🔥 😯 Angular is introducing a new Change Detection Tracing Service in DevTools that will automatically warn developers when their applications are triggering too many change detection cycles.

In the example when your application exceeds 10 change detections within a 1-second window, Angular will automatically log a warning to help you identify potential performance issues.

👉 PR: https://github.com/angular/angular/pull/58916
🆕 proposal for a JS operator - "::"

The "::" bind operator is still in Stage 0, meaning it's just an early concept being discussed.

It makes method binding and chaining clean, using "this"! ⛓️👇

https://github.com/tc39/proposal-bind-operator


#js
‼️ `aria-label and aria-labelledby` aren't allowed on divs, spans, and most other static text elements out of the box (i.e., without also changing roles), and *most* screenreaders won't announce them.

👇🏻

https://benmyers.dev/blog/dont-use-aria-label-on-static-text-elements/

#accessibility #a11y
💡 #angular Tip!

Did you know you can format dates, numbers, percentages, and currencies in Angular without relying on pipes? 🚀

👉 Simply call Angular’s built-in formatting functions directly in your code, specifying parameters like the date format or locale.

Why it’s awesome:
• No need for dependency injection (unlike importing DatePipe).
• Easily format data within services or other parts of your code.
• Streamlined, efficient, and perfect for scenarios where pipes aren’t accessible!

A small tweak that can make a big difference in your app’s performance and flexibility. 💻
It turns out that this is all standard IEEE 754, which gives a maximum relative rounding error of about 1.11e-16.

In JavaScript, when you compare 100 == 99.99999999999999, it evaluates to false because the precision of the number representation can lead to small inaccuracies. The value 99.99999999999999 is slightly less than 100, causing the comparison to fail.

On the other hand, 100 == 99.999999999999999 evaluates to true because this number is represented in a way that is close enough to 100 within the limits of the floating-point precision defined by IEEE 754. In this case, the tiny difference falls within the acceptable error margin, and thus the two values are considered equal by JavaScript.

This illustrates how floating-point arithmetic can lead to unexpected results in programming!
🎉 It's that time again! The 2024 Annual Anonymous Salary Survey for Tech Professionals in Germany 🇩🇪 is now live!

It takes just 3 minutes to share your input and help create valuable insights into tech salaries across Germany.

Take the survey and feel free to share it with your colleagues and friends:

👉 https://airtable.com/appbmmHgUzFU3Qres/pagxOj4KVV2pJ7YUZ/form

Deadline: before 2025 rolls in. Results, along with highlights from 2024, will be shared in January 2025.

In the meantime, check out last year’s analysis: https://ksyula.github.io/Salary-report/

Your participation makes a difference — thank you for contributing to this community effort! Wishing you a joyful holiday season 🎄 and a great start to 2025!

(c) Ksenia Legostay
People watched GTA for 1.46 billion hours in 2024 on twitch!!!!!!!!!!!!!
A gentle reminder for software engineers (you'll be thankful):

• Learn SQL before ORM.
• Learn Git before Jenkins.
• Learn SQL before NoSQL.
• Learn CSS before Tailwind.
• Learn Linux before Docker.
• Learn English before Python.
• Learn REST before GraphQL.
• Learn JavaScript before React.
• Learn HTML before JavaScript.
• Learn Containers before Kubernetes.
• Learn Monolith before Microservices.
• Learn Data Structures before Leetcode.
• Learn Server Management before Serverless.
• Learn to ask the Right Questions before ChatGPT.

The bottom line: Learn fundamentals before going deep.

What else would you add?
Hey ppl! I need you! :-)

he-he... I thought, that "ngx-translate" was a long time dead... =) And many devs switched to "transloco"...

What you think... What should I choose @2025 for my "ng new mew"?
funny moments...
A pattern in a lot of #Angular code bases

mixing of imperative and declarative code
unnecessary boilerplate
updating data from another source creates more mess and hard to follow code

💡How would you improve it?

#interview
@angular/material version 19 improves the developer experience to define custom themes with a new theming-api!

Also overriding styles on specific material components get easier

#angularMaterial #ng19
Happy browser choice day to those in Europe who celebrate! This is a second attempt to get it right. Brought to you by the iOS 18.2 update and the fine folks from https://open-web-advocacy.org/