In this video, I show the features that were added to the release of the NgRx Signal Store! 🎉
This video is made up of two parts. The first, and longer, is an introduction to Signal Store. The second covers the new features and, therefore, the release itself.
Part 1: Introduction to the Signal Store
✍️ Easy State Management with patchState. It allows you to write and read state much easier.
🧹 Enforced Structure for Derived Values and Logic: The structured approach that Signal Store enforces ensures that your code remains clean and maintainable.
🚀 Extensibility: Build powerful and flexible extensions with signalStoreFeature.
Part 2: New Features introduced with the release
🔒 Encapsulation with protectedState
🚫 Override Protection
🔐 Private state, computeds, and methods:The introduction of private state, private computeds, and private methods, gives you more control over your application’s state management.
👀 watchSignal for Glitch-Free Signals: watchSignal feature helps you overcome the glitch-free effect of Signals when necessary (!).
The repository is available at: https://github.com/rainerhahnekamp/ng....
The direct link to the QuizStore: https://github.com/rainerhahnekamp/ng...
Enjoy the video and feel free to drop any questions or comments below.
Happy coding! 💻😊
Further reading and watching:
Official Blog: https://dev.to/ngrx/announcing-ngrx-s...
NgRx Website: https://ngrx.io/
NgRx Signal Store Trilogy, Part 1: • NgRx Signal Store Trilogy, Part 1: Wh...
NgRx Signal Store Trilogy, Part 2: • NgRx Signal Store Trilogy, Part 2: Th...
Signals Unleashed: Full Guide: • Signals Unleashed: The Full Guide
Reactive Contexts: • Reactive Contexts
Chapters:
0:00 Welcome
0:44 1.0 Application Walkthrough
1:56 1.1 reading/writing Signals: patchState() & Slices
8:08 1.2 Structure: with* Functions
22:45 1.3 Extensions: signalStoreFeature()
30:53 2.0 Preparation: ng update
31:12 2.1 Encapsulation: protectedState
33:23 2.2 private state/methods/computeds
36:15 2.3 Override protection
38:22 2.4 watchState()
43:38 2.5 withEntities()
44:10 Summary and Farewell
Смотрите видео NgRx Signal Store: The Release онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Rainer Hahnekamp 30 Июль 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 7,07 раз и оно понравилось 27 людям.