Hi, now after doing '1. Passing the whole dang state', how do i update the state (of App component in App.js) from Homepage component (launched using BrowserRouter) ?
edited: I have to pass the update functions as another prop just like passing state as prop.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi, now after doing '1. Passing the whole dang state', how do i update the state (of App component in App.js) from Homepage component (launched using BrowserRouter) ?
edited: I have to pass the update functions as another prop just like passing state as prop.