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

Immutable decorator #204

Merged
merged 2 commits into from
Apr 25, 2015
Merged

Immutable decorator #204

merged 2 commits into from
Apr 25, 2015

Conversation

goatslacker
Copy link
Owner

Playing with this API, I think it's way nicer than the current one.

Thoughts @ziflex @jdlehman

@goatslacker
Copy link
Owner Author

Sorry the API is here: https://github.com/goatslacker/alt/blob/immutable-decorator/test/immutable-stores.js#L13

@immutable
class TodoStore {
  constructor() {
    this.state = Immutable.Map({})
  }
}

@ziflex
Copy link

ziflex commented Apr 24, 2015

Hell yeah! That's perfect solution!

@jdlehman
Copy link
Collaborator

That is much better!

@goatslacker goatslacker force-pushed the immutable-decorator branch from ddb9212 to 42d0936 Compare April 25, 2015 03:14
@goatslacker goatslacker force-pushed the immutable-decorator branch from 42d0936 to 78ef8bf Compare April 25, 2015 03:16
goatslacker added a commit that referenced this pull request Apr 25, 2015
@goatslacker goatslacker merged commit caa89f5 into master Apr 25, 2015
@goatslacker goatslacker deleted the immutable-decorator branch April 25, 2015 03:46
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

Successfully merging this pull request may close these issues.

3 participants