The Correct way to Manage Form State in react js | Controlled & Uncontrolled Components (Which One?)

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

ความคิดเห็น • 3

  • @Asyedabdulrahman33
    @Asyedabdulrahman33 2 หลายเดือนก่อน

    Mind-blowing! I learned a new best practice in controlled components: how to update a value by declaring one state instead of managing it with multiple states

  • @crockgaming5958
    @crockgaming5958 2 หลายเดือนก่อน

    you just nailed it bro

  • @megamind452
    @megamind452 11 หลายเดือนก่อน +1

    In the controlled components example you forgot to bind the values of each input. If I am not wrong.