Yes, initially we wanted to adopt date-fns but could not move in that direction as moment's code was everywhere and we didn't want to revamp all the logic which was using moment.
Whereas in dayjs, the differences in the API were very minimal which reduced the fiction to write dayjs code instead of moment.
date-fns is great but for faster optimization and least effort, we chose dayjs
Yes, initially we wanted to adopt
date-fnsbut could not move in that direction asmoment's code was everywhere and we didn't want to revamp all the logic which was usingmoment.Whereas in
dayjs, the differences in the API were very minimal which reduced the fiction to writedayjscode instead ofmoment.date-fnsis great but for faster optimization and least effort, we chosedayjsA really interesting feedback, thank you for sharing the experience π