79156751

Date: 2024-11-04 19:35:53
Score: 1.5
Natty:
Report link

I think there is a structural issue. You should place your "handleDataChange" function and shared data in your parent component (in this case, App.jsx). Otherwise, if you prefer not to share the data through the parent component, you could use React Context instead. Here is a link to documentation about context https://react.dev/learn/passing-data-deeply-with-context

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Victor Cajilema