You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
apologies if this is a duplicate, but is this library compatible with react 16? When I tried upgrading I'm getting the following error in
React
I believe this is due to lines:
https://github.com/dazld/react-on-visible/blob/master/src/index.js#L39
and
https://github.com/dazld/react-on-visible/blob/master/src/index.js#L47
The react docs specify that the first argument should be a function that returns
state
when the second callback param is used https://reactjs.org/docs/react-component.html#setstateThe text was updated successfully, but these errors were encountered: