I am working on a project where whitelisted/blacklisted dates of a calendar strip are dynamic. In the current version of this component, changes to the whitelists and blacklists are not rendered until a CalendarDay element is clicked, which is rather confusing. This PR forces a componentwide refresh when these lists change.
I'm not sure if it's strictly necessary to recompute startingDate, selectedDate, and days.
I am working on a project where whitelisted/blacklisted dates of a calendar strip are dynamic. In the current version of this component, changes to the whitelists and blacklists are not rendered until a
CalendarDay
element is clicked, which is rather confusing. This PR forces a componentwide refresh when these lists change.I'm not sure if it's strictly necessary to recompute
startingDate
,selectedDate
, anddays
.