Is there a way without using Redux with which I can from my home.js page (I\'m using hooks not classes) set/use a state, pass it to my component MyC