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 ( <>