bootstarted / react-resize-observer

Component for giving you `onResize`.
MIT License
48 stars 1 forks source link

Fiber support #4

Closed 10xjs closed 6 years ago

10xjs commented 6 years ago

findDOMNode behaves differently in React 16 due to the switch to fiber under the hood and returns null when it shouldn't.

I can't find a proper reference to what has changed. The official documentation hasn't been updated to reflect any breaking changes. It's best to simply avoid using findDOMNode in this scenario.