what I am trying to do is make a custom component that generate the socket and pass it to all component so that every component can use the socket but somehow it is not working. WHen I go to the path mention in url of router, the compoent doesn't render what is issue here