-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Referring to https://github.com/davej/js-redux/blob/master/src/helpers.js#L3
Is it possible to configure a deep-equality check that we can pass either like provide(store, isEqual)
or @connect(state => state.todos, todoActions, isEqual)
where isEqual could our custom equality check function, that could override the default shallow-equal check. This is done in this other redux-watch basic one - https://github.com/ExodusMovement/redux-watch#note-on-comparisons
I would probably have lodash isEqual imported in my app, and pass it, and get more accurate "updated" triggerred in my class.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels