I'm trying to pass in the collaborators array from Collab.js to Users.js to get a list of users connected. The first array shown in the picture is passed in when the component is initially loaded (basically when a user connects to the page the first time). When another user goes to join, the collaborators array gets updated with the new user, but this time it includes the username.
I'm trying to pass in the collaborators array from Collab.js to Users.js to get a list of users connected. The first array shown in the picture is passed in when the component is initially loaded (basically when a user connects to the page the first time). When another user goes to join, the collaborators array gets updated with the new user, but this time it includes the username.