Sharing State Between Components
เมื่อต้องการให้หลาย components ใช้ state เดียวกัน ต้อง “lift state up” ไปที่ common ancestor
Lifting State Up
Section titled “Lifting State Up”เข้าสู่ระบบเพื่อดูเนื้อหาเต็ม
ยืนยันตัวตนด้วยบัญชี Google เพื่อปลดล็อกบทความทั้งหมด
Login with Google