เมื่อคุณฟอล ig สาว คุณกำลัง Observe สาว
ตอนเริ่มเขียน Angular จะมี moment โดนขู่เสมอว่า
subscribe แล้วต้อง unsubscribe…
จำได้ว่าสมัยก่อน v17 เคยพยายามลองเล่น SSR ผ่านโปรเจคที่ชื่อว่า Universal มาก่อน ได้พี่ต้นมาช่วย 🙏 พอมา v17 นี้…
ช่วงที่ผ่านมาผมอัพเกรด Angular application จาก version 6 ไปเป็น 14 ซึ่งผมก็ได้เปิดหูเปิดตามากมาย…
ตัวอย่าง code ดูจาก https://github.com/tumit/ng-toh นะครับ
หลังจาก Angular v14 ออก feature ที่ผมสนใจเป็นพิเศษคือ Typed Reactive Form…
เนื่องจากเราต้องการสร้าง date-picker component ให้สามารถ reuse ได้ในหลายๆ component โดยรับ formControl เข้ามา
เริ่มจากสร้าง component ของ date-picker