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

Update reducers to use immutable data #86

Closed
martinleopold opened this issue Jul 26, 2016 · 2 comments
Closed

Update reducers to use immutable data #86

martinleopold opened this issue Jul 26, 2016 · 2 comments

Comments

@martinleopold
Copy link
Member

martinleopold commented Jul 26, 2016

  • If an object in the state needs to be changed, use a new object instead of mutating the old one.
  • Then we can use ChangeDetectionStrategy.OnPush in the affected components to get performance benefits.
  • Might be good for this to review the model data structures in general. (Refactor model data structure #87)
@martinleopold
Copy link
Member Author

@dinony
Copy link
Collaborator

dinony commented Nov 27, 2017

Fixed in v0.1.0

@dinony dinony closed this as completed Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants