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
First of all; thanks for creating a UMD version of react-day-picker for us on legacy apps.
We are finally looking to upgrade to v8 (at v7 today) and React 18, but since date-fns is a peer dep which doesn't have UMD builds available I can't get my head around how to use v8 with UMD. Does anyone have experience with this?
All I can see from date-fns is a CDN-version, but that adds date-fns as a global object on the window object which of course react-day-picker doesn't find and use.
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
-
First of all; thanks for creating a UMD version of react-day-picker for us on legacy apps.
We are finally looking to upgrade to v8 (at v7 today) and React 18, but since date-fns is a peer dep which doesn't have UMD builds available I can't get my head around how to use v8 with UMD. Does anyone have experience with this?
All I can see from date-fns is a CDN-version, but that adds date-fns as a global object on the window object which of course react-day-picker doesn't find and use.
Beta Was this translation helpful? Give feedback.
All reactions