I came across this warning using your ract-mobile-datepicker package is there any plans for that(switching to useRef hook) or is there any special reason avoiding do so?
Warning: A string ref, "scroll", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref div
Hey there @lanjingling0510 @Kerminate ,
I came across this warning using your
ract-mobile-datepicker
package is there any plans for that(switching to useRef hook) or is there any special reason avoiding do so?Warning: A string ref, "scroll", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref div