Problem
During frontend development, there are animations that are triggered based on the position of the screen when scrolling
Some examples can be fade in, infinite scroll, …
[Read More]
Context Sử dụng Functional Component Hàm getInstance là bất đồng bộ, dùng để khởi tạo instance Trong Component, gọi lần lượt 2 hàm sau: Hàm loadInstance khởi tạo instance trong Component, lưu trực tiếp vào trong state với hàm setInstance Hàm useInstance sẽ lấy instance từ trong state và sử...
[Read More]