Skip to content
This repository has been archived by the owner on Jan 10, 2018. It is now read-only.

Question about implementing "light" store pattern in angular 1 (not relative to this module) #420

Closed
mbret opened this issue May 18, 2017 · 3 comments

Comments

@mbret
Copy link

mbret commented May 18, 2017

Hello I recently implemented a simple and light implementation of "store" pattern in my angular app. We do not have a system like in React app to refresh UI on store update but it allows us to have a more clean and robust way to manage app store and of course having the possibility of tracking app state / restoration / share / middleware etc. In simple words components can dispatch action which then update the store through reducers. We could add more functionality but I just wanted try this. It works well as long as we are carefull and dont alter the store inside component directly. What do you guys think about this king of feature ? Do you have some recomandations ?

@jotatoledo
Copy link

This isnt a real issue. Your question could lead to opinionated answers. For something like this, you should try quora or a similar platform.

@mbret
Copy link
Author

mbret commented May 28, 2017

Yeah I didn't know how to present this and did not want to flood this repository in any way ^^Just wanted to have a talk with this community. Thanks you :)

@robwormald
Copy link
Contributor

It works well as long as we are carefull and dont alter the store inside component directly
The entire reason projects like ngrx and redux exist is because basically, this never, ever works in reality. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants