Here is my hierarchy
  - AddEmployee component
  - UpdateComponent
  - Home
      * EmployeeItem component 
The the employee item component is just a line in a list which contains the many columns holding the employees data, among these columns I have the update column which is an icon redirecting to the update component, how can I pass the data of the employee to the UpdateEmployee component in order to show them and enable modifying them, I can't use the react router history object, because is undefined in the EmployeeItem component since it's not a route and react-router ignore it.
Is there a way to do it without using readux, or other state manager, I was thinking about useContext but it's not clear to me how to do it.
I'm using react-router to handle redirection
 
    