Skip to content
Advertisement

Tag: react-class-based-component

Passing Props to grandchild React

Child: Parent: GrandParent Component: I simply want to pass the method handleButtonChange() from grandParent all the way to child (which is a button), as the button is clicked it triggers the click event which fires up this function making changes in grandparent component(i.e. setting button state) where am i wrong at or this approach is completely wrong I am really

Advertisement