lanjingling0510 / react-mobile-datepicker

🙊 👻 look a demo, Please imitate mobile environment.
https://codepen.io/lanjingling0510/pen/LRpOYp?editors=1010
MIT License
303 stars 148 forks source link

Warning: componentWillReceiveProps has been renamed, and is not recommended for use #59

Open omatei-brightplan opened 3 years ago

omatei-brightplan commented 3 years ago

This is the warnings that show up on local development.

Screen Shot 2020-10-27 at 2 56 22 PM (1)

Just by simply search I found that 4 places with componentWillReceiveProps

https://github.com/lanjingling0510/react-mobile-datepicker/search?q=componentWillReceiveProps

Screen Shot 2020-11-18 at 5 28 56 PM

It would be nice if you could fix componentWillReceiveProps with componentDidUpdate?