From 3d9ecb1a1026c777d0132b8f9bda83c2213a97cc Mon Sep 17 00:00:00 2001 From: Daishi Kato Date: Mon, 9 Jun 2025 08:41:52 +0900 Subject: [PATCH] fix links to the demo and the docs (#3148) --- README.md | 4 ++-- examples/demo/src/components/Details.jsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c7ae2002..ca5f3fa4 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ A small, fast and scalable bearbones state-management solution using simplified Don't disregard it because it's cute. It has quite the claws, lots of time was spent dealing with common pitfalls, like the dreaded [zombie child problem](https://react-redux.js.org/api/hooks#stale-props-and-zombie-children), [react concurrency](https://github.com/bvaughn/rfcs/blob/useMutableSource/text/0000-use-mutable-source.md), and [context loss](https://github.com/facebook/react/issues/13332) between mixed renderers. It may be the one state-manager in the React space that gets all of these right. -You can try a live demo [here](https://githubbox.com/pmndrs/zustand/tree/main/examples/demo). +You can try a live [demo](https://zustand-demo.pmnd.rs/) and read the [docs](https://zustand.docs.pmnd.rs/). ```bash npm install zustand @@ -505,4 +505,4 @@ Some users may want to extend Zustand's feature set which can be done using thir ## Comparison with other libraries -- [Difference between zustand and other state management libraries for React](https://docs.pmnd.rs/zustand/getting-started/comparison) +- [Difference between zustand and other state management libraries for React](https://zustand.docs.pmnd.rs/getting-started/comparison) diff --git a/examples/demo/src/components/Details.jsx b/examples/demo/src/components/Details.jsx index 845051a4..2c89628f 100644 --- a/examples/demo/src/components/Details.jsx +++ b/examples/demo/src/components/Details.jsx @@ -2,7 +2,7 @@ export default function Details() { return ( <>