date-fns vs dayjs? #4817
Replies: 2 comments 7 replies
-
I see |
Beta Was this translation helpful? Give feedback.
-
Not sure where you got your numbers from but for me |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a reason shadcn uses date-fns instead of Day.js?
The date-fns module is 45mb vs 2mb for dayjs, and the gzipped include for date-fns is 6k vs dayjs is 3k.
I've already switched my local code, as it's a fairly simple 1-1 change.
Beta Was this translation helpful? Give feedback.
All reactions