fix links to the demo and the docs (#3148)

This commit is contained in:
Daishi Kato 2025-06-09 08:41:52 +09:00 committed by GitHub
parent 9d58820318
commit 3d9ecb1a10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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. 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 ```bash
npm install zustand 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 ## 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)

View File

@ -2,7 +2,7 @@ export default function Details() {
return ( return (
<> <>
<nav className="nav"> <nav className="nav">
<a href="https://docs.pmnd.rs/zustand">Documentation</a> <a href="https://zustand.docs.pmnd.rs/">Documentation</a>
<a href="https://github.com/pmndrs/zustand">Github</a> <a href="https://github.com/pmndrs/zustand">Github</a>
</nav> </nav>
<div className="bottom"> <div className="bottom">