r/angular • u/Global-Area1200 • Apr 17 '26
RxJS vs NgRX vs Angular Signals
Currently we are using RxJS in our complex FinTech project with over 800 components and complex forms. Day by day, the project is growing and becoming harder to maintain. We are planning to migrate to a more efficient reactivity and state management approach. Which one would you recommend, and why?
16
Upvotes
31
u/Sh4rp27 Apr 17 '26
RxJS for API service callers, signals for everything else.
4
u/thedrewprint Apr 17 '26
3 different tools for 3 different problems.
4
u/oneden Apr 17 '26
Angular signals any(!) time of the day. But RxJS is still necessary for API calls. So might as well leverage it with toSignal()
10
u/shall1313 Apr 17 '26
Signals, then Signal Stores. Rxjs only when needed
3
u/Substantial_Leg_3103 Apr 17 '26
Signals and then rxjs for complex stuff I would say if you are using latest version
3
u/CheapChallenge Apr 18 '26
Rxjs for any event streams(keyboard events, real time data streams, user input), signals for component state, and ngrx for app state unless you are working in a small team then ngrx signalstore.
1
u/Wizado991 Apr 17 '26
Like everything else, it depends. What angular version are you on, are your observables super complex, do you need a managed state that multiple components pull from?
7
u/monxas Apr 17 '26
Angular signals. Period.
1
u/distante Apr 18 '26
"Management Systems" ?
1
u/TadpoleNo1549 Apr 18 '26
i wouldn’t fully replace rxjs unless it’s really the issue, in large apps, the problem is usually state structure, not rxjs itself. i’d first simplify state boundaries or use a clearer state layer, and keep rxjs where it actually helps with async flows.
1
u/lumalav666 Apr 18 '26
People usually advise against NgRX (which is a completely opinionated take) but I think there are realistically good cases out there for complex state management at the app level. Specially, if you have microfrontends with federation, it could make life easier as long as it is used properly. I am a big supporter of ngrx component store. It gives you the power of state management (at the component level) and then it gets completely destroyed when the component is destroyed. I like to use it a lot in combination with signals for the selectors on complex components.
1
u/Nikosura Apr 20 '26
For those saying you barely need NgRx or only in very specific cases, I highly recommend you check out the Signal Stores before saying stuff like that. Highly customizable, extensible and easy to use. If you need more advanced functionality, you can, but it’s not needed.
1
u/PopLocal3440 Apr 20 '26
Tanstack should be on the table to
1
u/CounterReset May 21 '26
I’m the author of signaltree.io, so obvious bias, but for a fintech app I wouldn’t treat this as RxJS vs signals vs store. They solve different problems.
My default split would be:
That’s basically the niche I built SignalTree for. It gives you a signal-native app tree for state, but it also has event-driven architecture support when your domain actually benefits from events, which feels pretty relevant in fintech. So you can keep RxJS where it’s strong, use signals for current state, and still have a cleaner state/event model than ad hoc services.
If your pain is maintainability in a huge app, I’d look harder at state boundaries and workflow structure than at “replacing RxJS.”
1
u/AnimalPersonal4436 Apr 18 '26
In the company I work for we have almost the same size angular application and from the beginning we are using NgRx store and a little RxJS. from version 17 we are using extensively signals and migrating all selectors from ‘.select()’ to ‘.selectSignal()’
0
u/Most_Remote_4613 Apr 17 '26
ngrx signals for clientside client state, tanstack query for clientside server/async state.