deku-redux icon indicating copy to clipboard operation
deku-redux copied to clipboard

Components always rerender regardless of change or not

Open MichaelBergquistSuarez opened this issue 8 years ago • 0 comments

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?

MichaelBergquistSuarez avatar Apr 07 '17 15:04 MichaelBergquistSuarez