component-size icon indicating copy to clipboard operation
component-size copied to clipboard

Readme should indicate that ResizeObserver is optional

Open mmiller42 opened this issue 6 years ago • 0 comments

In index.js, the hook falls back to using window.addEventListener('resize') if ResizeObserver is not available in the current browser. Therefore, it should be noted that you don't in fact require the polyfill to use this hook.

mmiller42 avatar Jan 10 '20 21:01 mmiller42