I tried to build my dream (simple) state management for Angular

Опубликовано: 29 Ноябрь 2023
на канале: Joshua Morony
11,845
341

My Angular course: https://angularstart.com/

We've talked a lot about this idea of using RxJS and Signals for state management, where RxJS handles data sources and events and Signals handles representing the state.

To make this process and easier and more declarative I've been working with Chau Tran to develop a utility called signalSlice.

signalSlice docs: https://ngxtension.netlify.app/utilit...

Example implementations of signalSlice:
https://github.com/joshuamorony/angul...
https://github.com/joshuamorony/angul...
https://github.com/joshuamorony/angul...

Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076

Want to build mobile apps with Angular?: https://ionicstart.com

0:00 Introduction
1:35 Signal Slice
1:54 Creating state
2:09 Selectors
2:24 Sources
2:56 Action Sources
3:49 More declarative?

#angular #rxjs #signals

More tutorials: https://modernangular.com
Follow me on Twitter:   / joshuamorony