I am trying to implement a List view in React. What I am trying to achieve is that to store the list headers informations and register the components and register the scroll ev
A better solution with ref to avoid findDOMNode that is discouraged.
... onScroll() { let offsetTop = this.instance.getBoundingClientRect().top; } ... render() { ... this.instance = el } /> ...