deku-redux
deku-redux copied to clipboard
Components always rerender regardless of change or not
Hi!
I'm having problems with components re-rendering on any action regardless of changes being made it not.
The following all re-render upon change. Any idea why?
export const Remarket = connect(
state => ({})
)(RemarketComponent);
export const Row = connect()(RowComponent);
export const Remarket = connect(
state => ({
static: 'value'
})
)(RemarketComponent);
Shouldn't the component only update when the state has changed?