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

Need more: https://linktr.ee/ngxsamurai
Download Telegram
A new lazy-route migration schematic is coming to #Angular! 🪄

If your application has routes, that are importing components directly, you will be able to use an 𝐚𝐮𝐭𝐨𝐦𝐚𝐭𝐞𝐝 𝐦𝐢𝐠𝐫𝐚𝐭𝐢𝐨𝐧 𝐜𝐨𝐦𝐦𝐚𝐧𝐝 𝐭𝐨 𝐜𝐨𝐧𝐯𝐞𝐫𝐭 𝐭𝐡𝐞𝐬𝐞 𝐭𝐨 𝐥𝐚𝐳𝐲-𝐥𝐨𝐚𝐝𝐞𝐝 𝐫𝐨𝐮𝐭𝐞𝐬 𝐚𝐥𝐥 𝐚𝐭 𝐨𝐧𝐜𝐞.

Just run this command and improve your app's performance automatically.

𝐧𝐠 𝐠𝐞𝐧𝐞𝐫𝐚𝐭𝐞 @𝐚𝐧𝐠𝐮𝐥𝐚𝐫/𝐜𝐨𝐫𝐞:𝐫𝐨𝐮𝐭𝐞-𝐥𝐚𝐳𝐲-𝐥𝐨𝐚𝐝𝐢𝐧𝐠


Credits for the feature to Enea Jahollari, here is the pull request 👉
Hey front devs!!! Are you ready for this shit nice window layout? 😂
State of JS 2023 – Top JavaScript Front-end Frameworks

With the front end development scene rapidly evolving every day, new technologies pass by in the blink of an eye—and it’s important to know what to look out for before you invest time in learning a library.

Here are some of the technologies with the highest developer interest in 2023.

1. React: A production-ready, interactive, top-rated framework.
2. Vue: A versatile, small, and approachable web framework.
3. Angular: A robust and dependable batteries-included web app framework
4. Svelte: A declarative, compiler-based, efficient component framework.
5. Preact: A lightweight, fast React alternative with efficient APIs.
6. SolidJS: An ultra-fast, optimized framework with top benchmark scores.
7. Lit: A simple framework derived from web components API.
8. alpine.js: A minimal, powerful framework for HTML interactivity.
9. htmx: Access modern JavaScript APIs within HTML.
10. Stencil: A framework for scalable, performant, and future-proof web components.
BrowserInfo is a new feature in Angular 18.1.0 that makes the URL on the address bar different than route path.

In navigateByUrl, pass browserInfo to rename the address bar to "/<pokemon name>/info".
In canActivateGuard, rename the address bar to "/no-pokemon" when name is not found.

(c) Connie Leung

#angular
💎 New signal-based queries in #Angular are much better!

Signal queries replace @ContentChild, @ContentChildren, @ViewChild, and @ViewChildren decorators.

Now with 𝐯𝐢𝐞𝐰𝐂𝐡𝐢𝐥𝐝(), 𝐯𝐢𝐞𝐰𝐂𝐡𝐢𝐥𝐝𝐫𝐞𝐧(), 𝐜𝐨𝐧𝐭𝐞𝐧𝐭𝐂𝐡𝐢𝐥𝐝(), 𝐜𝐨𝐧𝐭𝐞𝐧𝐭𝐂𝐡𝐢𝐥𝐝𝐫𝐞𝐧().

Key benefits:

🔸 𝐏𝐫𝐞𝐝𝐢𝐜𝐭𝐚𝐛𝐥𝐞 𝐓𝐢𝐦𝐢𝐧𝐠: access query results after appearance.
🔸 𝐂𝐨𝐦𝐛𝐢𝐧𝐞𝐝 𝐑𝐞𝐬𝐮𝐥𝐭𝐬: Multiple signals in one effect for combined calculations.
🔸 𝐒𝐢𝐦𝐩𝐥𝐢𝐟𝐢𝐞𝐝 𝐀𝐏𝐈: All queries return a signal; arrays for multiples.
🔸 𝐓𝐲𝐩𝐞 𝐒𝐚𝐟𝐞𝐭𝐲: Fewer undefined results.
🔸 𝐀𝐜𝐜𝐮𝐫𝐚𝐭𝐞 𝐈𝐧𝐟𝐞𝐫𝐞𝐧𝐜𝐞: Better TypeScript inference.
🔸 𝐋𝐚𝐳𝐲 𝐔𝐩𝐝𝐚𝐭𝐞𝐬: Updates only when read -> better performance.
Great tips on making your resume stand out!

read more in comments »»»
“Senior" noscripts mean nothing!

Here's why:

1. Tech evolves faster than your experience
2. Problem-solving beats memorization
3. Adaptability trumps seniority
4. Fresh perspectives often outperform routine
5. Imposter syndrome is universal

The truth: "Senior" is a mindset, not a timeline.

How to truly become senior:

1. Embrace continuous learning
2. Mentor others relentlessly
3. Take ownership of failures
4. Challenge the status quo
5. Focus on business impact, not just code

Remember: True seniority is about impact, not years.

What's your definition of a senior developer?
🔥2
Storybook 8.2

Towards no-compromise component testing.


https://storybook.js.org/blog/storybook-8-2/
🎉 Exciting news for Angular developers! 🚀🅰️

Angular will introduce (v18.2.0-next.2) a new schematic to simplify migration to the inject function:
🛠 ng generate @angular/core:inject-migration

This tool automates the conversion from constructor-based dependency injection to the more flexible inject function.

Options you can pass to the command:
🔹 path: pass in '.' or leave it blank to migrate the entire directory.
🔹 migrateAbstractClasses: enable this option if you want abstract classes to be migrated, but note that you may have to fix some breakages manually
🔹 backwardsCompatibleConstructors: migration will generate an additional constructor signature to keep it backwards compatible.
🔹 nonNullableOptional: @Optional decorator returns null if not found. Enabling this option will fix compilation errors about types.

🔗 Want to streamline your Angular codebase? Check out PR #57056 for more details on this powerful new feature!

https://github.com/angular/angular/pull/57056
The latest version of Angular Testing Library (v17.1.0) introduces a new API on that allows you to test the output of your components more easily. In this article, we'll take a look at how you can use this new method to enhance your output testing in Angular, and why it's a better alternative to the existing componentOutputs or componentProperties API.

https://timdeschryver.dev/blog/the-new-on-property-improves-output-testing-in-angular-testing-library
Angular Munich pinned «https://www.youtube.com/watch?v=-pSf9_MgsZ4&ab_channel=Fireship»
MERGE! MERGE! MERGE!

https://github.com/nodejs/node/pull/53725

It was finally merged! 🎉

So... This is first step for native support #typenoscript in #nodejs!

Mmm...
🔥3
Media is too big
VIEW IN TELEGRAM
AI Version of "Harry Potter 2077"!


Soon we do not need an any actors! We need a mega skilled prompt operators! Who chilled on the Bali and writing the text for the whole 90m Film )
Too good to be true... 😂
😁2
🗓 2024-11-11

BSides Munich
is the premiere, independently organized computer security event in the Munich, Germany area, bringing together both local and internationally renowned experts. As an offshoot of our Meetup group, MUC:SEC, this conference extends our goals of bringing local computer security professionals together, exchanging ideas and experience and most importantly, establishing trust relationship within our community.

This event is free
!!!


https://2024.bsidesmunich.org/
🚀 New Schematic! Angular 18.2.0: Route Lazy Loading Migration


More in comments
Our favorite framework is getting better everyday!

❤️-if you agree
🦄-else
3