Skip to content

v7.0.0

Compare
Choose a tag to compare
@maslianok maslianok released this 05 Jan 18:02
· 117 commits to master since this release

v7.0.0 BREAKING CHANGE

resize-observer-polyfill is removed from the library:

  • all modern browsers support ResizeObserver API natively
  • resize-observer-polyfill repository is abandoned

It means that starting from v7 you won't be able to use the build with polyfill:

// WRONG: there is no such file starting from v7
import ResizeObserver from 'react-resize-detector/build/withPolyfill';

// CORRECT
import ResizeObserver from 'react-resize-detector';