Skip to content

Commit f13965e

Browse files
committed
Update README.md
1 parent 9dca1b3 commit f13965e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ Every hook requires the related library installed:
1616
- `useDHT` depends on `@hyperswarm/dht-relay`.
1717
- `useSwarm` depends on `hyperswarm`.
1818

19+
If you import `useSwarm` then install this specific branch:
20+
`npm i holepunchto/hyperswarm#add-swarm-session`
21+
1922
```javascript
2023
import { useCore, useCoreEvent, useCoreWatch } from 'use-hyper/core'
2124
import useDHT from 'use-hyper/dht'

0 commit comments

Comments
 (0)