Why switching to input signals?
One of the main reasons would be not using anymore the:
- 𝘯𝘨𝘖𝘯𝘊𝘩𝘢𝘯𝘨𝘦𝘴() hook to react to input's changes
- use 𝘤𝘰𝘮𝘱𝘶𝘵𝘦𝘥() instead
All @Input() features like 𝘵𝘳𝘢𝘯𝘴𝘧𝘰𝘳𝘮, 𝘢𝘭𝘪𝘢𝘴 or 𝘳𝘦𝘲𝘶𝘪𝘳𝘦𝘥 can be used with input signals as well.
Dany Paredes explains the main reasons for moving to the input signals -> link
One of the main reasons would be not using anymore the:
- 𝘯𝘨𝘖𝘯𝘊𝘩𝘢𝘯𝘨𝘦𝘴() hook to react to input's changes
- use 𝘤𝘰𝘮𝘱𝘶𝘵𝘦𝘥() instead
All @Input() features like 𝘵𝘳𝘢𝘯𝘴𝘧𝘰𝘳𝘮, 𝘢𝘭𝘪𝘢𝘴 or 𝘳𝘦𝘲𝘶𝘪𝘳𝘦𝘥 can be used with input signals as well.
Dany Paredes explains the main reasons for moving to the input signals -> link
🔥 Syncing Local Storage with NgRx Component Store 🔥
With this custom utility function you can easily compose your component stores with local storage syncing without the need of any third party dependencies.
NgRx Component Store
(c) Stefan Haas
With this custom utility function you can easily compose your component stores with local storage syncing without the need of any third party dependencies.
NgRx Component Store
(c) Stefan Haas
Small warning - Node v22 + Linux + typenoscript + emojis in code
Currently crashes with the above conditions due to maglev inlining (apparently) - so basically a JIT optimization hasn't been tested with emojis in strings on linux x64 and that now causes a segfault.
Tested that running:
works while omitting
Using either typenoscript@next or reverting to node@20 works around the issue!
Currently crashes with the above conditions due to maglev inlining (apparently) - so basically a JIT optimization hasn't been tested with emojis in strings on linux x64 and that now causes a segfault.
Tested that running:
node --no-maglev-inlining ./node_modules/typenoscript/lib/tsc.js
works while omitting
--no-maglev-inlining(or, you know, running
npx tsc) does produce a segfault.
Using either typenoscript@next or reverting to node@20 works around the issue!
Simplifying Local Storage Management in Angular
Local storage is a web storage API that allows you to store data locally within the browser. This data persists even after the browser window or tab is closed, making it ideal for storing user preferences, application state, or other data that needs to be accessed across sessions.
Angular Munich pinned «https://justangular.com/blog/read-this-if-you-are-building-design-system-components-in-angular»
Good video for reactive contexts. Signals vs rxjs.
https://www.youtube.com/watch?v=6AvN-Zqkrkg&ab_channel=RainerHahnekamp
In this video, we delve into the concept of Reactive Contexts in Angular and their crucial role in making Signals reactive. You'll learn:
🚦 What a Reactive Context is and why it is essential for Signals.
🚦 How the effect function creates a Reactive Context.
🚦 How a Reactive Context functions within an Angular template.
🚦 The slight differences between the effect function and template Reactive Contexts.
🚦 Why effect might get triggered more frequently than templates and why this behavior is not problematic.
https://www.youtube.com/watch?v=6AvN-Zqkrkg&ab_channel=RainerHahnekamp
YouTube
Reactive Contexts
In this video, we delve into the concept of Reactive Contexts in Angular and their crucial role in making Signals reactive. You'll learn:
🚦 What a Reactive Context is and why it is essential for Signals.
🚦 How the effect function creates a Reactive Context.…
🚦 What a Reactive Context is and why it is essential for Signals.
🚦 How the effect function creates a Reactive Context.…
👍1
Kali Linux 2024.2 was released with a range of new features, updates, and improvements. These have been designed to improve the user experience and broaden the range of tools available to security professionals. Let’s take a closer look at what’s new in Kali Linux 2024.2.
“This release, although slightly delayed, promises to enhance the user experience with significant changes under the hood, new tools, and desktop environment updates,” Kali Linux team said.
https://cybersecuritynews.com/kali-linux-2024-2/
#security #pentest #penetrationtesting #hacking
Angular Munich pinned «https://justangular.com/blog/protect-your-app-from-infinite-change-detection»