How to pass value from Parent component to Nth child component in React?
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