If you are having issues, look here
Well, socket.io updated few times, live preview not working, but no worries, I fixed most problems, take a look at source code, it might help ya! (Careful, there's new files, but we need them) https://github.com/T-Damer/socket-chat/
I am having errors with react router dom , i followed the code as on the tutorial and i had this error
Error: A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.
I am having errors with react router dom , i followed the code as on the tutorial and i had this error
Error: A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .
try to use
return (<Router> <Routes> <Route exact path="/" element={<Join/>}/> <Route path="/chat" element={<Chat/>}/> </Routes> </Router> )
Place your components with < inside of the {}