Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FE] - introduce architecture for state management #545

Open
mburri opened this issue Jun 2, 2020 · 1 comment
Open

[FE] - introduce architecture for state management #545

mburri opened this issue Jun 2, 2020 · 1 comment

Comments

@mburri
Copy link
Member

mburri commented Jun 2, 2020

There is currently no state management library used in the frontend. The application service (app.service.ts) is capable of holding global state - but there is no clear architecture nor a guide on how to use this.

TODO:

  • decide if it makes sense to use a state management library for liima
    • candidates could be:
      • ngrx
      • ngxs
      • angular-redux
  • or if we go with bulid-in angular features - (rxjs)
    • advantage: no additional dependecies needed.

I'd go for the last approach and clean up the current "mess"

@mburri
Copy link
Member Author

mburri commented Jun 2, 2020

see https://dev.to/avatsaev/simple-state-management-in-angular-with-only-services-and-rxjs-41p8

It's not obvious if Liima could benefit from a State Management Lib - or if one is needed...

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

No branches or pull requests

1 participant