updated state variable is not being rendered properly

  Kiến thức lập trình

initial state :
enter image description here
before removing one input field:
enter image description here
after removing 2nd row input fields:
enter image description here

As we can clearly see that 2nd object in the list contains “e” and “f” but 2nd row displays “c and “d”.

for detailed code explanation please visit this link:
text

New contributor

Satpal Singh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT