Closed aga5tya closed 6 years ago
While server rendering the list with default state, the code breaks since window object is directly referenced in the condition for check for requestAnimationFrame.
You can get rid of the window object in your code while SSR. (typeof window !== 'undefined')
(typeof window !== 'undefined')
While server rendering the list with default state, the code breaks since window object is directly referenced in the condition for check for requestAnimationFrame.