I created some responsive components and as such, the parent ... gets a few details ...
Each subsequent child uses most of these details, then the children of the children.
**--> Parent** (required props) **-------> child** (required props) **-------> child** (required props) **------------> sub child** (required props) **------------> sub child**
These "requisites" are the same for all of these components. It seems redundant that whenever I update the support in Parental, I have to go into all these children and update (if necessary). Of course, they are necessary and necessary, but it is curious whether there is a shortcut / or implementation that this repetition is not required. Any ideas?
thanks
javascript reactjs
user1492442
source share