79808058

Date: 2025-11-03 16:14:33
Score: 2
Natty:
Report link

check out these react docs on "memo". sounds like exactly what you want. if CheckBox is not your own component, you could create a wrapper for it or use the "useMemo" hook on the component. check the "deep dive" section of these react docs on useMemo. essentially, the component only rerenders when one of its props' value changes.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: sparkJ