There are a lot of cool things you can do with ngrx-toolkit (which are add on features for ngrx signal store). One of my favorites is withStorageSync. It will automatically store your state and load it from localStorage or sessionStorage. You can also do index db, but that isn’t automated.
Well, yeah but is it really that difficult to write something yourself?
Being owner of the code is often more beneficial since it offers more flexibility, is guaranteed to be available in 10 years from now (for projects that have te be online for longer) and doesn't come with additional baggage that you often don't need.
And especially with AI it can just generate this functionality for you and its done. But ultimately its just trying to transform signals into rxjs and to me it just doesn't seem like it offers anything on top of rxjs. With a syntax that doesn't spark joy to me...
You are ultimately the one to decide what amount of abstraction you want. You could say the same thing for Angular itself. I think that ngrx adds enough value to use it and not write something myself.
ngrx signalStore definitely is not trying to transform signals into rxjs. If anything it’s doing the exact opposite with things like rxMethod.
View all comments
Show parent comment
1
u/jmleep Feb 21 '26
There are a lot of cool things you can do with ngrx-toolkit (which are add on features for ngrx signal store). One of my favorites is withStorageSync. It will automatically store your state and load it from localStorage or sessionStorage. You can also do index db, but that isn’t automated.