Showing user is on the page
Hi,
I want to show if a user is on a certain page (for example /post/1 and another user goes to that page should show up that someone is on / editing on this page . hope that makes sense lol
2 Replies
That's probably gonna take a bit of work
Basically you want to open a websocket connection to your backend server and then send the route you're currently on to the backend which broadcasts the status to other users that also have an open connection
Ye you need a websocket connection, that would be the best way ngl