I have the following problem: I want to update a state when a scroll is happening.
I used the following solution:
React.useEffect(() => { window.addEven