Skip to content

Commit

Permalink
docs: change docs link for useSyncExternalStore
Browse files Browse the repository at this point in the history
  • Loading branch information
田源 committed Mar 22, 2023
1 parent 842bd78 commit 48bc01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/use-subscription/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

React Hook for subscribing to external data sources.

**You may now migrate to [`use-sync-external-store`](https://www.npmjs.com/package/use-sync-external-store) directly instead, which has the same API as [`React.useSyncExternalStore`](https://reactjs.org/docs/hooks-reference.html#usesyncexternalstore). The `use-subscription` package is now a thin wrapper over `use-sync-external-store` and will not be updated further.**
**You may now migrate to [`use-sync-external-store`](https://www.npmjs.com/package/use-sync-external-store) directly instead, which has the same API as [`React.useSyncExternalStore`](https://react.dev/reference/react/useSyncExternalStore). The `use-subscription` package is now a thin wrapper over `use-sync-external-store` and will not be updated further.**

# Installation

Expand Down

0 comments on commit 48bc01d

Please sign in to comment.