Skip to content

Commit eb9dc33

Browse files
committed
fix(readme): update
1 parent 26ed6e9 commit eb9dc33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ yarn add use-transport data-transport
4040

4141
### API
4242

43-
You can use the `use-transport` hook to create a transport instance.
43+
You can use the `use-transport` hook to create a transport instance. And then use the `emit` and `listen` methods to send and receive messages.
4444

4545
```jsx
4646
import React from 'react';

0 commit comments

Comments
 (0)