Skip to content

Commit 83b27f2

Browse files
committed
docs(socket.io): Update instructions in README
1 parent ae70493 commit 83b27f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

socket.io/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Socket.io is the simples way to work with WebSockets in Node.js
44

55
This example shows how to setup socket.io inside a Express server and together with a Remix app and how to connect from the browser.
66

7-
To run this example, run `npm run start:dev` to start the server and `npm run dev` to watch for changes in the app.
7+
To run this example, run `npm run dev`.
88

99
> Note: The code here needs the Express adapter and because of that it needs Node.js. This is only deployable to platforms supporting a persistent running process (unlike Serverless platforms).
1010
@@ -16,15 +16,15 @@ Open this example on [CodeSandbox](https://codesandbox.com):
1616

1717
## Example
1818

19-
This examples uses the Express adapter to setup the HTTP server.
19+
This example uses the Express adapter to setup the HTTP server.
2020

2121
Then it attaches socket.io to it and listens for a few basic events.
2222

2323
Client-side, it imports `io` from `socket.io-client` and uses it to connect to the WebSocket server on the root component.
2424

2525
It stores the socket instance in a React context and make it available for the whole app.
2626

27-
In the `routes/index` file it accesses the socket instance to listen for more events and renders a button which sends a message to the server on each click.
27+
In the `routes/_index` file, it accesses the socket instance to listen for more events and renders a button which sends a message to the server on each click.
2828

2929
## Related Links
3030

0 commit comments

Comments
 (0)