Download / redux-apis

Helpers for creating Redux-aware APIs.
Creative Commons Attribution 4.0 International
11 stars 0 forks source link

Identity of nested Api objects in object returned by `connector` should reflect state changes #6

Closed Download closed 8 years ago

Download commented 8 years ago

Using the actual nested Api objects in the object returned by connector means their identity never changes, which does not work well with React's default implementation of performing a strict equals check on the props passed to a component. We need that identity to change with state changes/