Closed Elolawyn closed 5 months ago
Hello @Elolawyn thank you for suggesting these fixes I will test and implement it.
hi @farhoudshapouran, any progress about this issue?
hi @farhoudshapouran, any progress about this issue?
hi, @YaoHuiJi sorry for the late reply, I fixed this issue and after some reviews, I will release a new version.
While using this datepicker with android (but it happens with ios too), selecting days takes a while to render again because all
Day
components render again.React.memo
does not seem to be working. To check it out, you can addconsole.log('render ComponentName')
like:This way, you will see that all components render again every time you press on a different day.
For this component in particular, i have tried:
And now the calendar seems to be faster. I guess
React.memo
should be checked in every component that uses/might use it?