Address concerns of #38
This commit is contained in:
parent
dbcd017a56
commit
43d34e0a5a
12
README.md
12
README.md
@ -22,10 +22,14 @@ will recursively return the same instance if no changes have been made, making
|
|||||||
it ideal for using reference equality checks to detect changes (like
|
it ideal for using reference equality checks to detect changes (like
|
||||||
[PureRenderMixin]).
|
[PureRenderMixin]).
|
||||||
|
|
||||||
Because of this, everything returned by updeep is frozen. updeep requires
|
Because of this, everything returned by updeep is frozen. Not only that, but
|
||||||
[lodash], but works very well with [lodash-fp] or [Ramda]. As a matter of fact,
|
updeep assumes that every object passed in to update is immutable, so it may
|
||||||
many of the helpers functions are [curried][currying] [lodash] functions with
|
freeze objects passed in as well. Note that the freezing only happens in
|
||||||
their parameters reversed (like [lodash-fp]).
|
development.
|
||||||
|
|
||||||
|
updeep requires [lodash], but works very well with [lodash-fp] or [Ramda].
|
||||||
|
As a matter of fact, many of the helpers functions are [curried][currying]
|
||||||
|
[lodash] functions with their parameters reversed (like [lodash-fp]).
|
||||||
|
|
||||||
Note that the parameters may be backwards from what you may be used to. updeep
|
Note that the parameters may be backwards from what you may be used to. updeep
|
||||||
supports [partial application][currying], so the parameter order is:
|
supports [partial application][currying], so the parameter order is:
|
||||||
|
Loading…
Reference in New Issue
Block a user