Learn Temporal API In 17 Minutes
Web Dev Simplified
My Blog: https://blog.webdevsimplified.com Temporal API Article: https://blog.webdevsimplified.com/2022-02/temporal-date-api
Date in JavaScript suck to work with. They are clunky, have a terrible API, and overall make writing code less fun. Luckily, the Temporal API is being added to JavaScript which solves all the problems I have with dates and then some.
š Materials/References:
My Blog: https://blog.webdevsimplified.com Temporal API Article: https://blog.webdevsimplified.com/2022-02/temporal-date-api Reference Vs Value Video: https://youtu.be/-hBJz2PPIVE Reference Vs Value Article: https://blog.webdevsimplified.com/2021-03/js-reference-vs-value Temporal API Polyfill: https://www.npmjs.com/package/@js-temporal/polyfill Temporal API Docs: https://tc39.es/proposal-temporal/docs
š Find Me Here:
My Blog: https://blog.webdevsimplified.com My Courses: https://courses.webdevsimplified.com Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified
ā±ļø Timestamps:
00:00 - Introduction 00:50 - Polyfill Setup 02:18 - Basic Date Types 06:25 - Advanced Date Types 07:14 - Helper Methods 14:30 - Duration Type
#TemporalAPI #WDS #JavaScript ... https://www.youtube.com/watch?v=oOK3UzLJ_Cs
61756161 Bytes