mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
Update introduction.md (#3045)
This commit is contained in:
parent
f85898fdbe
commit
681036c319
@ -62,7 +62,7 @@ will re-render when that state changes.
|
||||
```jsx
|
||||
function BearCounter() {
|
||||
const bears = useStore((state) => state.bears)
|
||||
return <h1>{bears} around here...</h1>
|
||||
return <h1>{bears} bears around here...</h1>
|
||||
}
|
||||
|
||||
function Controls() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user