Ganesan C
How to pass value from Parent component to Nth child component in React?

How to pass value from Parent component to Nth child component in React?

By Ganesan C in React on Aug 13 2021
  • Kunj Sangani
    Aug, 2021 16

    You can pass it as props but this could be very hard to maintain as we need it through every child and hence state management can help here where we can use redux or any other state management where we can directly share data across the component without any problem.

    Hope this helps

    • 1


Most Popular Job Functions


MOST LIKED QUESTIONS