Working with JavaScript dates? Yeah, just use date-fns...
HTML-код
- Опубликовано: 19 окт 2024
- Working with JavaScript dates is kind of a mess, but you can make it easy with date-fns. It's a library with a bunch of helper functions from adding and subtracting dates and hours to formatting timestamps in any language you need. Stop using Moment.js and clogging up your projects with a bunch of unused code when you can just use date-fns instead...
Very nice video Eric, so nice to get the high level overview of the library in less 8 minutes with you 👍
Nice! Straight to the point. Thank you, Eric.
exactly what I needed! thanks fo making this
Just what I was looking for tysm!! Now I can do the challenge I found a month ago lol
what is that calculation next to your imports?
Im still confused on how imports work and how is it better to import something more specific.
I want to work with d3 and I know its big and wonderingg howm uch each import will take me, or should I use a simpler chart library for a simple chart
Love ur high quality videos
Very helpful video - thank you!
Cool, thanks for sharing bud!
Thanks a lot. It was really helpful.
Thanks for the video!
great work bro
Thanks for the video.
This is helpful. Thanks
I cannot get the day of week like "Monday, Tuesday..." to work, keeps giving me the index of the date. Anyone know how to do this?
Thankyou Eric bro ❤, Can I know how to display like this '2 minutes ago' like that live updating without page refresh really struggling with this
Not sure, but I assume you would use something like setInterval and reformat the date every minute or so
awesome vid
Thanks Mate
how to get all dates between to and from date using fns?
What extension are you using that shows the size of your imported packages?
Import cost
@@EricMurphyxyz Very cool package, only found out about this now. Thanks for the video!
Thank you!
great library / thank you for your content / please include your twitter and /or your github account to view more of your code
fix 'JavaScript' in your title to help the search algorithm!
Wow, cannot believe I overlooked that lol, thanks!
Thanks for this!