mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
fix links to the demo and the docs (#3148)
This commit is contained in:
parent
9d58820318
commit
3d9ecb1a10
@ -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)
|
||||||
|
|||||||
@ -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">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user