-
Notifications
You must be signed in to change notification settings - Fork 10
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
is it compatible with React 0.15? #10
Comments
@plandem - can you give a little more context on where this is happening? |
@erikdstock probably it does not matter now, because: P.S.: if you want, you can check commits here: |
We're using with React 0.15 at Artsy with no warnings. Glad you're finding value with the project, and cool to see you've extended it. |
@acjay I would like to use your npm package directly, but have no idea how to replace ramda with lodash without any headache. The only way - replace these 3 functions(map/flatten/pick) with own implementation :( |
I'm all for Lodash, although I'm partial to the lodash-fp API flavor, since it preserves the immutability and data-last aspects of Ramda. (I don't really think we really put data-last to work in this project, but I was convinced of the merits by things such as the links under Introductions on the Ramda home page.) |
But why do you need data-last aspect? |
Yeah, same project, just a different "flavor", interface, or however you want to call it :) Yep, looking at how you did the the conversion to Lodash, I agree that you're effectively working immutably. But one thing I appreciate about the lodash/fp is that everything is immutable to begin with, whereas with the original Lodash, it varies across the API, so there's no need to reason about it at all. I've gotten bitten in the past with subtle mutations of references passed into a helper method. As I said earlier, we're not currently leveraging data-last to any real advantage. So I agree that it's a toss-up here. It's just my sense that it's the better default stylistic choice, because it scales better to more interesting usages. If you haven't checked out the links Ramda references, you might find some of them compelling! |
I can create a separate branch with this changes to help you :) |
That sounds great, thanks! I'm hoping to have some time to put some maintenance into this project soon :) It's minimal enough that it doesn't need that much love, but I'd still like to make a few tweaks. |
will try to commit today P.S.: before I used vanilla redux and was trying to find way to improve/decouple some part of application. Your solution is tiny yet powerful....with vanilla redux same time. |
I have warnings about manually validating PropType:
The text was updated successfully, but these errors were encountered: