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
React router dom on Permission - Implementing Access Control in React Apps
- QLamXmaster
- January 30, 2024
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
- QLamXmaster
- October 07, 2023
[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
- QLamXmaster
- October 07, 2023
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...
[JS] Don't Use innerHTML if you want to be Hacked
- QLamXmaster
- September 27, 2023
Don't Use innerHTML if you want to be Hacked Hacker can inject code like img tag