gm0t / react-sticky-el

MIT License
257 stars 47 forks source link

Feature/suppress react lifecycle warnings #44

Closed pepijnolivier closed 5 years ago

pepijnolivier commented 5 years ago

Fixes #42

This would help us get rid of the annoying UNSAFE_ warnings after upgrading to React 16.3 or later.

If merged, probably best to tag a new major version, because the minimum required React version is now 16.3 (due to the aliases only having been merged in on that version).

Reference https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html

gm0t commented 5 years ago

@pepijnolivier thanks a lot! published as 1.1.0 version