component-size
component-size copied to clipboard
Only update state if the width or height change
Fixes https://github.com/rehooks/component-size/issues/34