Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This repository and its history have been merged into the Socket.IO monorepo #1624

Closed
hongjiaherng opened this issue Aug 12, 2024 · 1 comment
Labels
question Further information is requested

Comments

@hongjiaherng
Copy link

As this repository has already been merged into the Socket.IO monorepo, to use this on the client, do we still install and import socket.io-client package in a React project?

Do we still need to install socket.io-client on a React project?

npm install socket.io-client

Do we import socket.io or socket.io-client on a React project?

import io from "socket.io-client";
@darrachequesne
Copy link
Member

Hi! Yes, you still need to install the socket.io-client package.

The migration simply means that both packages (socket.io on the server side, socket.io-client on the client side) live in the same repository.

@darrachequesne darrachequesne added the question Further information is requested label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants