react-sticky-el
react-sticky-el copied to clipboard
got defaultProps remove warning when used with react 18
Warning: Sticky: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
+1 can we get a PR for this ?
L.E: I've figured it out that using RenderPropSticky
can get rid of this error.
up