Jamie's tech blog

The Blue Nowhere

[Frontend Note] Javascript Execution Context and Scope

Understanding execution context and scope in JS gives a better grasp of how it works under the hood

Rather than stepping into traps one by one and only fragmentarily memorizing which patterns will produce bugs, it is better to dig into Javascript's underlying principles once and avoid those potential traps entirely!

[Frontend Note] What are macrotasks and microtasks in the EventLoop

Use macrotasks and microtasks to fully understand asynchronous behavior in Javascript

When asynchronous behavior is mentioned in Javascript, names like `setTimeout`, `Promise`, and `async/await` immediately come to mind. However, while learning about V8 and the browser recently, I realized that although these three are all asynchronous on a macro level, they are actually quite different on a micro level.

[Frontend Note] How Vue implements reactive data

Combining Virtual DOM, data hijacking, and side effect functions to implement reactive data in Vue

Since Vue3 was released, many people have shared that they are often asked in interviews: 'What is the principle of reactive data in Vue2 and Vue3?' This article references a book published by the Vue team to implement Vue's reactive data.