Odonno / ReduxSimple

Simple Stupid Redux Store using Reactive Extensions
http://www.nuget.org/packages/ReduxSimple/
MIT License
143 stars 19 forks source link

Possibility of State Composition #41

Closed julianpaulozzi closed 6 years ago

julianpaulozzi commented 6 years ago

It would be possible to somehow define state composition to facilitate the maintenance of large state trees?

Something like ngrx Feature Module State Composition.

The idea would be to keep a single store but compose the pair (state -> reductor) in several parts.

Odonno commented 6 years ago

Hi @julianpaulozzi

I am not sure to understand this feature very well for now. What you wish is to compose the state? If so then I don't see why you cannot do it using Observable?

Odonno commented 4 years ago

@julianpaulozzi I think I needed to play more with the @ngrx package with bigger projects and indeed, there are some valuable features. If you are still interested, ReduxSimple is now in v3 with some exciting features like:

So, you can now compose your state in different parts and create as much features/nested state as you want. You can also check the readme file which described the new features pretty well.

julianpaulozzi commented 4 years ago

That sounds great, when I have the opportunity I will check. Good work, thanks.