- Tí nữa, đọc thấy tạo nhánh có số 123 thì các bạn hiểu ngầm nó chính là
taskId
nhen. - Ví dụ team mình dev trên nhánh
develop
.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const setTextByElementId = (elementId, text) => { | |
const element = document.getElementById(elementId); | |
if (element) { | |
element.innerText = text; | |
} | |
}; | |
const setValueByElementId = (elementId, value) => { | |
const element = document.getElementById(elementId); | |
if (element) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// HACK NÃO VỚI PHÉP TOÁN | |
// CỘNG TRỪ TRONG JAVASCRIPT | |
// ------------ | |
// Phép cộng | |
// ------------ | |
// Number + Number = Number | |
console.log(1 + 1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ----------------------------------- | |
// HỌC REDUCE() QUA CÁC VÍ DỤ ĐƠN GIẢN | |
// ----------------------------------- | |
// Trong cái mớ hàm này | |
// for...i, for...of | |
// forEach | |
// filter | |
// map | |
// ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Channel: EASY FRONTEND - Hậu Nguyễn | |
// Youtube channel: https://www.youtube.com/channel/UCG2ovypNCpVOTFeY1YCocmQ | |
// THAM TRỊ vs THAM CHIẾU trong Javascript | |
// CHIA SẺ | |
// 1. Tham trị vs tham chiếu là gì? | |
// 2. Các khái niệm: | |
// - stored by value | |
// - stored by reference | |
// - pass by value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Easy Frontend | |
// Học FE đơn giản, dễ hiểu và đặc biệt phải vui ❤️ | |
// JS NÂNG CAO - Xử lý expired token trong Javascript như thế nào? | |
// ❓ Chuyện gì xảy ra nếu giữa chừng token bị expired? | |
// Ví dụ: 3 api requests đồng thời với nhau | |
// TRƯỜNG HỢP 1: Token chưa expired, vẫn còn tốt chán 🤣 | |
// --request 1--> |
- Đôi tượng: mới bắt đầu học ReactJS mà không biết học những gì.
- Yêu cầu kiến thức:
- Javascript cơ bản: https://javascript.info/
- ES6 syntax: http://es6-features.org/#Constants
- Git cơ bản: Học cách quản lý source code
- NPM (Node Package Manager): Tìm hiểu xem đây là gì?
- Tiếng Anh (vì tài liệu đa số là Tiếng Anh)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// function declaration | |
function sayHello() { } | |
// function expression | |
const sayHelloExpression = function () { } | |
// arrow function | |
const sayHelloArrow = () => { } | |
const subArray = [].filter(function (x) { |