79482753

Date: 2025-03-04 05:51:29
Score: 1
Natty:
Report link

some advice you value are two types 1. primitive 2. no primitive

  1. string, number, and boolean So far you’ve been working with numbers, strings, and booleans. These kinds of JavaScript values are “immutable”, meaning unchangeable or “read-only”. You can trigger a re-render to replace a value:
  2. object and array are reference values. Tips:you have to change immutably which means always give to new objects and array 3.handleChange function one
  3. Technically, it is possible to change the contents of the object itself. This is called a mutation:
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: MD Helal Uddin