Tag: JavaScript
-
Can you notice the small detail that makes async try-catch fail to work?
-
Auth is a complex concept for many webdevs, including myself. Here's some of my learning notes.
-
Do you know how to use `Date` in JavaScript? Is `new Date('2020-01-01')` the same as `new Date('2020-1-01')`? Here're the pitfalls I fell into...
-
How to communicate between iframe and parent correctly
-
Among all the popular frontend frameworks, Vue.js is my favorite. It's very easy to get start with, and has great developer experience (at least IMO)
-
A deep dive into the usage of ES6 modules - basic export/import, npm packages vs. ES6 modules, build process for browser support, and more.
-
Why does JavaScript need modules? What the difference between CommonJS, AMD, UMD? In this article, I walk through a brief history of JS modules, from old simple script tag and IIFE all the way to ES6 modules.