Skip to content

v4.0.5

Compare
Choose a tag to compare
@maslianok maslianok released this 15 Mar 13:01
· 372 commits to master since this release
  • Fixed Callback pattern when function returns Fragment
<ReactResizeDetector>
  {({ width, height }) => (
      <>
        <div />
        <div />
      </>
   )}
</ReactResizeDetector>
  • Fixed Child Component Pattern when there are more than 1 child
<ReactResizeDetector>
  <Foo />
  <Bar />
</ReactResizeDetector>