Quick Explanation You should use types by default until you need a specific feature of interfaces, like 'extends'. Interfaces can...
 Video: Javascript - What Event Loop, web apis, task queue Example: waiting the 'Call stack' is empty, move task queue to call stack
In a React application, for example, you could use the react-router-dom library to define routes for your application and a custom withAcces...
[Typescript] Rest (spread) parameter in destructured object with Typescript interface The solution I found was to add a TypeScript Index Si...
 Không dùng Arrow function javascript khi nào 1. Defining methods on an object ('this' not work on Arrow function) In JavaScript, th...
Don't Use innerHTML if you want to be Hacked Hacker can inject code like img tag
 Should put state in URL instead of useState (in React & Next.js) Keeping this state in url has many benefits 👇 users can share the url...
Shallow Copy and Deep Copy ReactJS   Shallow Copy Deep Copy 👉  What is the most efficient way to deep clone an object in JavaScript?