NGRX Traits is a library to help you compose and reuse state logic in your angular app. There is two versions, @ngrx-traits/signals supports ngrx-signals, and @ngrx-traits/{core, common} supports ngrx.
First one I think is easier to implement , second one is harder but more flexible so might be more useful, there are state shapes that the second can do but not the first
This is a place holder to find a way to best merge a set of traits into one Possible examples
Another possible way
First one I think is easier to implement , second one is harder but more flexible so might be more useful, there are state shapes that the second can do but not the first