From 48bc01d132a7f2ebca65e3b1a79670c15b77e49a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E6=BA=90?= Date: Wed, 22 Mar 2023 09:14:30 +0800 Subject: [PATCH] docs: change docs link for useSyncExternalStore --- packages/use-subscription/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/use-subscription/README.md b/packages/use-subscription/README.md index 48047e86dffa7..ee40f3602c094 100644 --- a/packages/use-subscription/README.md +++ b/packages/use-subscription/README.md @@ -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