You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #889 on February 10, 2021 03:03.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, thank you for the library!
I see that most custom handlers are treated in this way:
react-day-picker/src/DayPickerInput.js
Lines 428 to 438 in 421af9f
But this ignores the return value of the custom handler, would it be better if we do something like:
But I'm not sure if it'll cause unexpected problems by side-effect. Or is the current way intentional? What do you think?
Beta Was this translation helpful? Give feedback.
All reactions