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
Should put state in URL instead of useState (in React & Next.js)
- QLamXmaster
- September 16, 2023
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
- QLamXmaster
- August 29, 2023
Shallow Copy and Deep Copy ReactJS Shallow Copy Deep Copy 👉 What is the most efficient way to deep clone an object in JavaScript?
Nắm vững ReactJS với GitHub Repositories xịn xò
- QLamXmaster
- August 29, 2023
20 Trang github giúp bạn master ReactJS =)) - 20 GitHub Repositories to Become a React Master
JWT Authentication to NextJS Apps with middleware axios
- QLamXmaster
- August 25, 2023
JWT Authentication to NextJS Apps with middleware axios This article is a simple tutorial on how to implement authentication with NextJS, be...