useScrollPosition.defaultProps does nothing
ckknight opened this issue · comments
Summer Knight commented
I see that useScrollPosition.defaultProps
is defined for some reason. It's a hook function and not a React component, so attaching a defaultProps
property to the function will not accomplish anything and is just extra noise.
zach commented
You are right! It's just a part of some old implementation, we need to remove it!