I need to convert the given class component into a functional one. I’m working with outputting an array of multiple Editors draft-js and I’m having some trouble outputting them. On the internet, I found a working class component with an array of them, but I can’t convert it into a functional component for TS or JS. Can someone have enough
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