How Is This Code Safe?
Web Dev Simplified
Tagged template literals are a really common JS feature that nearly everyone uses, but most people have no idea that you can use them as a function. In this video I will show you exactly how to use tagged template literals as a function and why the Next.js release code is actually safe.
š Materials/References:
Tagged Template Literals Article: https://blog.webdevsimplified.com/2020-03/tagged-template-literals
š 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:33 - The Problem 01:12 - Basic Function Tagged Template Literals 03:26 - Advanced Function Tagged Template Literals
#TaggedTemplateLiterals #WDS #JavaScript ... https://www.youtube.com/watch?v=sX4svSMYdt0
46395723 Bytes