Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use immutable data structures#9

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
jorinvo wants to merge2 commits intocyclejs:masterfromjorinvo:immutable

Conversation

@jorinvo
Copy link

Thank you for sharing the concept of Cycle.js!
The architecture makes things really clear and simple.
This is my new favorite TodoMVC implementation 😉

I was playing around with immutable.js and saw the issue#4 later. Thought I might send a pull request.
Feel free to modify this, if I missed something. I'm pretty new to this technologies, so I probably don't use it all the right way yet..

- include sourcemaps when built with npm run build-debug- run browserify and uglify with pipe
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Sometimes I gotnull values in the list. Don't know if this was a testing issue or something about immutable.js I haven't discovered yet..
That's why I filter the values here ...

@staltz
Copy link
Member

Hi @jorin-vogel, thank you for this. I really like Immutable.js and I would use it myself in any project. But for TodoMVC itself, I'm afraid we have to keep it out because in order to compare with other frameworks, it's best if the TodoMVC implementation is "vanilla Cycle.js". Issue#4 was just a suggestion of how to speed up performance, it wasn't necessarily about Immutable.js (the name betrays, but there is a difference between "immutable" and "immutable.js").

@jorinvo
Copy link
Author

@staltz ok cool. I totally get this.
I was just playing around with immutable.js. But I also felt like it would be overkill for TodoMVC.
If anyone asks how to integrate immutable.js though, we have an example now to show them 😃

@staltz
Copy link
Member

And to not completely lose the effort you put into this, I put a link to this PR on the README.

@jorinvo
Copy link
Author

Thanks, that's awesome! Let me know if I can improve anything.

@donaldpipowitch
Copy link

Thank you both. If anything can be improved, I'd be interested in a more complete version, too.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@graingertgraingertgraingert left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@jorinvo@staltz@donaldpipowitch@graingert

[8]ページ先頭

©2009-2025 Movatter.jp