I\'m trying to pass this is as id as props to another component which is not a child of the component. I was considering using context but i wanted to know if there was ano