René's URL Explorer Experiment


Title: GitHub - pmndrs/zustand: 🐻 Bear necessities for state management in React

Open Graph Title: GitHub - pmndrs/zustand: 🐻 Bear necessities for state management in React

X Title: GitHub - pmndrs/zustand: 🐻 Bear necessities for state management in React

Description: 🐻 Bear necessities for state management in React. Contribute to pmndrs/zustand development by creating an account on GitHub.

Open Graph Description: 🐻 Bear necessities for state management in React. Contribute to pmndrs/zustand development by creating an account on GitHub.

X Description: 🐻 Bear necessities for state management in React. Contribute to pmndrs/zustand development by creating an account on GitHub.

Opengraph URL: https://github.com/pmndrs/zustand

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:547e6d8d-c3f8-92eb-2a85-ae74afb30e46
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idDA6A:1D30:141E6E7:1ACDE25:698B8C15
html-safe-nonce312e8be28859cf6552c812481cc812d38db0b29d76296a5d777088f3f6e60d83
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTZBOjFEMzA6MTQxRTZFNzoxQUNERTI1OjY5OEI4QzE1IiwidmlzaXRvcl9pZCI6IjE5MjQ4MDgxOTI2ODE1NDQ3MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac70c332df951394c65ed986b22891e71674b12018a452bda48f9ecbd99117f3ff
hovercard-subject-tagrepository:180328715
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/pmndrs/zustand
twitter:imagehttps://repository-images.githubusercontent.com/180328715/fca49300-e7f1-11ea-9f51-cfd949b31560
twitter:cardsummary_large_image
og:imagehttps://repository-images.githubusercontent.com/180328715/fca49300-e7f1-11ea-9f51-cfd949b31560
og:image:alt🐻 Bear necessities for state management in React. Contribute to pmndrs/zustand development by creating an account on GitHub.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4
turbo-cache-controlno-preview
go-importgithub.com/pmndrs/zustand git https://github.com/pmndrs/zustand.git
octolytics-dimension-user_id45790596
octolytics-dimension-user_loginpmndrs
octolytics-dimension-repository_id180328715
octolytics-dimension-repository_nwopmndrs/zustand
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id180328715
octolytics-dimension-repository_network_root_nwopmndrs/zustand
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3d444f0a47beeeac94cddbb51c91ab408befe8d4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/react-spring/zustand#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpmndrs%2Fzustand
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpmndrs%2Fzustand
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=pmndrs%2Fzustand
Reloadhttps://github.com/react-spring/zustand
Reloadhttps://github.com/react-spring/zustand
Reloadhttps://github.com/react-spring/zustand
pmndrs https://github.com/pmndrs
zustandhttps://github.com/pmndrs/zustand
Please reload this pagehttps://github.com/react-spring/zustand
Notifications https://github.com/login?return_to=%2Fpmndrs%2Fzustand
Fork 1.9k https://github.com/login?return_to=%2Fpmndrs%2Fzustand
Star 56.9k https://github.com/login?return_to=%2Fpmndrs%2Fzustand
zustand-demo.pmnd.rs/https://zustand-demo.pmnd.rs/
MIT license https://github.com/pmndrs/zustand/blob/main/LICENSE
56.9k stars https://github.com/pmndrs/zustand/stargazers
1.9k forks https://github.com/pmndrs/zustand/forks
Branches https://github.com/pmndrs/zustand/branches
Tags https://github.com/pmndrs/zustand/tags
Activity https://github.com/pmndrs/zustand/activity
Star https://github.com/login?return_to=%2Fpmndrs%2Fzustand
Notifications https://github.com/login?return_to=%2Fpmndrs%2Fzustand
Code https://github.com/pmndrs/zustand
Issues 2 https://github.com/pmndrs/zustand/issues
Pull requests 2 https://github.com/pmndrs/zustand/pulls
Discussions https://github.com/pmndrs/zustand/discussions
Actions https://github.com/pmndrs/zustand/actions
Projects 0 https://github.com/pmndrs/zustand/projects
Wiki https://github.com/pmndrs/zustand/wiki
Security 0 https://github.com/pmndrs/zustand/security
Insights https://github.com/pmndrs/zustand/pulse
Code https://github.com/pmndrs/zustand
Issues https://github.com/pmndrs/zustand/issues
Pull requests https://github.com/pmndrs/zustand/pulls
Discussions https://github.com/pmndrs/zustand/discussions
Actions https://github.com/pmndrs/zustand/actions
Projects https://github.com/pmndrs/zustand/projects
Wiki https://github.com/pmndrs/zustand/wiki
Security https://github.com/pmndrs/zustand/security
Insights https://github.com/pmndrs/zustand/pulse
Brancheshttps://github.com/pmndrs/zustand/branches
Tagshttps://github.com/pmndrs/zustand/tags
https://github.com/pmndrs/zustand/branches
https://github.com/pmndrs/zustand/tags
1,316 Commitshttps://github.com/pmndrs/zustand/commits/main/
https://github.com/pmndrs/zustand/commits/main/
.codesandboxhttps://github.com/pmndrs/zustand/tree/main/.codesandbox
.codesandboxhttps://github.com/pmndrs/zustand/tree/main/.codesandbox
.githubhttps://github.com/pmndrs/zustand/tree/main/.github
.githubhttps://github.com/pmndrs/zustand/tree/main/.github
docshttps://github.com/pmndrs/zustand/tree/main/docs
docshttps://github.com/pmndrs/zustand/tree/main/docs
exampleshttps://github.com/pmndrs/zustand/tree/main/examples
exampleshttps://github.com/pmndrs/zustand/tree/main/examples
srchttps://github.com/pmndrs/zustand/tree/main/src
srchttps://github.com/pmndrs/zustand/tree/main/src
testshttps://github.com/pmndrs/zustand/tree/main/tests
testshttps://github.com/pmndrs/zustand/tree/main/tests
.gitignorehttps://github.com/pmndrs/zustand/blob/main/.gitignore
.gitignorehttps://github.com/pmndrs/zustand/blob/main/.gitignore
.prettierignorehttps://github.com/pmndrs/zustand/blob/main/.prettierignore
.prettierignorehttps://github.com/pmndrs/zustand/blob/main/.prettierignore
CONTRIBUTING.mdhttps://github.com/pmndrs/zustand/blob/main/CONTRIBUTING.md
CONTRIBUTING.mdhttps://github.com/pmndrs/zustand/blob/main/CONTRIBUTING.md
FUNDING.jsonhttps://github.com/pmndrs/zustand/blob/main/FUNDING.json
FUNDING.jsonhttps://github.com/pmndrs/zustand/blob/main/FUNDING.json
LICENSEhttps://github.com/pmndrs/zustand/blob/main/LICENSE
LICENSEhttps://github.com/pmndrs/zustand/blob/main/LICENSE
README.mdhttps://github.com/pmndrs/zustand/blob/main/README.md
README.mdhttps://github.com/pmndrs/zustand/blob/main/README.md
eslint.config.mjshttps://github.com/pmndrs/zustand/blob/main/eslint.config.mjs
eslint.config.mjshttps://github.com/pmndrs/zustand/blob/main/eslint.config.mjs
package.jsonhttps://github.com/pmndrs/zustand/blob/main/package.json
package.jsonhttps://github.com/pmndrs/zustand/blob/main/package.json
pnpm-lock.yamlhttps://github.com/pmndrs/zustand/blob/main/pnpm-lock.yaml
pnpm-lock.yamlhttps://github.com/pmndrs/zustand/blob/main/pnpm-lock.yaml
pnpm-workspace.yamlhttps://github.com/pmndrs/zustand/blob/main/pnpm-workspace.yaml
pnpm-workspace.yamlhttps://github.com/pmndrs/zustand/blob/main/pnpm-workspace.yaml
rollup.config.mjshttps://github.com/pmndrs/zustand/blob/main/rollup.config.mjs
rollup.config.mjshttps://github.com/pmndrs/zustand/blob/main/rollup.config.mjs
tsconfig.jsonhttps://github.com/pmndrs/zustand/blob/main/tsconfig.json
tsconfig.jsonhttps://github.com/pmndrs/zustand/blob/main/tsconfig.json
vitest.config.mtshttps://github.com/pmndrs/zustand/blob/main/vitest.config.mts
vitest.config.mtshttps://github.com/pmndrs/zustand/blob/main/vitest.config.mts
READMEhttps://github.com/react-spring/zustand
Contributinghttps://github.com/react-spring/zustand
MIT licensehttps://github.com/react-spring/zustand
https://github.com/pmndrs/zustand/blob/main/docs/bear.jpg
https://github.com/pmndrs/zustand/actions?query=workflow%3ATest
https://bundlejs.com/?q=zustand
https://www.npmjs.com/package/zustand
https://www.npmjs.com/package/zustand
https://discord.gg/poimandres
https://dai-shi.github.io/zustand-banner-sponsorship/sponsors/
zombie child problemhttps://react-redux.js.org/api/hooks#stale-props-and-zombie-children
react concurrencyhttps://github.com/bvaughn/rfcs/blob/useMutableSource/text/0000-use-mutable-source.md
context losshttps://github.com/facebook/react/issues/13332
demohttps://zustand-demo.pmnd.rs/
docshttps://zustand.docs.pmnd.rs/
TypeScript Usage sectionhttps://github.com/react-spring/zustand#typescript-usage
https://github.com/react-spring/zustand#first-create-a-store
merges statehttps://github.com/pmndrs/zustand/blob/main/docs/guides/immutable-state-and-merging.md
https://github.com/react-spring/zustand#then-bind-your-components-and-thats-it
https://github.com/react-spring/zustand#why-zustand-over-redux
Can inform components transiently (without causing render)https://github.com/react-spring/zustand#transient-updates-for-often-occurring-state-changes
https://github.com/react-spring/zustand#why-zustand-over-context
https://github.com/react-spring/zustand#recipes
https://github.com/react-spring/zustand#fetching-everything
https://github.com/react-spring/zustand#selecting-multiple-state-slices
useShallowhttps://github.com/pmndrs/zustand/blob/main/docs/guides/prevent-rerenders-with-use-shallow.md
createWithEqualityFnhttps://github.com/pmndrs/zustand/blob/main/docs/migrations/migrating-to-v5.md#using-custom-equality-functions-such-as-shallow
https://github.com/react-spring/zustand#overwriting-state
https://github.com/react-spring/zustand#async-actions
https://github.com/react-spring/zustand#read-from-state-in-actions
https://github.com/react-spring/zustand#readingwriting-state-and-reacting-to-changes-outside-of-components
React Server Componentshttps://github.com/reactjs/rfcs/blob/main/text/0188-server-components.md
#2200https://github.com/pmndrs/zustand/discussions/2200
https://github.com/react-spring/zustand#using-subscribe-with-selector
https://github.com/react-spring/zustand#using-zustand-without-react
https://github.com/react-spring/zustand#transient-updates-for-often-occurring-state-changes
drastichttps://codesandbox.io/s/peaceful-johnson-txtws
https://github.com/react-spring/zustand#sick-of-reducers-and-changing-nested-states-use-immer
immerhttps://github.com/mweststrate/immer
Alternatively, there are some other solutions.https://github.com/pmndrs/zustand/blob/main/docs/guides/updating-state.md#with-immer
https://github.com/react-spring/zustand#persist-middleware
See the full documentation for this middleware.https://github.com/pmndrs/zustand/blob/main/docs/integrations/persisting-store-data.md
https://github.com/react-spring/zustand#immer-middleware
https://github.com/react-spring/zustand#cant-live-without-redux-like-reducers-and-action-types
https://github.com/react-spring/zustand#redux-devtools
Redux DevTools Chrome extensionhttps://chromewebstore.google.com/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd
serializehttps://github.com/zalmoxisus/redux-devtools-extension/blob/master/docs/API/Arguments.md#serialize
https://github.com/react-spring/zustand#logging-actions
#163https://github.com/pmndrs/zustand/issues/163
https://github.com/react-spring/zustand#react-context
https://github.com/react-spring/zustand#typescript-usage
herehttps://github.com/pmndrs/zustand/blob/main/docs/guides/beginner-typescript.md
therehttps://github.com/pmndrs/zustand/blob/main/docs/guides/advanced-typescript.md
https://github.com/react-spring/zustand#best-practices
Splitting the store into separate sliceshttps://github.com/pmndrs/zustand/blob/main/docs/guides/slices-pattern.md
Flux inspired practicehttps://github.com/pmndrs/zustand/blob/main/docs/guides/flux-inspired-practice.md
Calling actions outside a React event handler in pre-React 18https://github.com/pmndrs/zustand/blob/main/docs/guides/event-handler-in-pre-react-18.md
Testinghttps://github.com/pmndrs/zustand/blob/main/docs/guides/testing.md
in the docs folderhttps://github.com/pmndrs/zustand/blob/main/docs
https://github.com/react-spring/zustand#third-party-libraries
the dochttps://github.com/pmndrs/zustand/blob/main/docs/integrations/third-party-libraries.md
https://github.com/react-spring/zustand#comparison-with-other-libraries
Difference between zustand and other state management libraries for Reacthttps://zustand.docs.pmnd.rs/getting-started/comparison
zustand-demo.pmnd.rs/https://zustand-demo.pmnd.rs/
react https://github.com/topics/react
redux https://github.com/topics/redux
hooks https://github.com/topics/hooks
state-management https://github.com/topics/state-management
reactjs https://github.com/topics/reactjs
hacktoberfest https://github.com/topics/hacktoberfest
react-context https://github.com/topics/react-context
Readme https://github.com/react-spring/zustand#readme-ov-file
MIT license https://github.com/react-spring/zustand#MIT-1-ov-file
Contributing https://github.com/react-spring/zustand#contributing-ov-file
Please reload this pagehttps://github.com/react-spring/zustand
Activityhttps://github.com/pmndrs/zustand/activity
Custom propertieshttps://github.com/pmndrs/zustand/custom-properties
56.9k starshttps://github.com/pmndrs/zustand/stargazers
182 watchinghttps://github.com/pmndrs/zustand/watchers
1.9k forkshttps://github.com/pmndrs/zustand/forks
Report repository https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fpmndrs%2Fzustand&report=pmndrs+%28user%29
Releases 101https://github.com/pmndrs/zustand/releases
v5.0.11 Latest Feb 1, 2026 https://github.com/pmndrs/zustand/releases/tag/v5.0.11
+ 100 releaseshttps://github.com/pmndrs/zustand/releases
Please reload this pagehttps://github.com/react-spring/zustand
https://daishi.gumroad.com/l/uaxmshttps://daishi.gumroad.com/l/uaxms
https://daishi.gumroad.com/l/learn-zustand-v4https://daishi.gumroad.com/l/learn-zustand-v4
Learn more about GitHub Sponsorshttps://github.com/sponsors
Packages 0https://github.com/orgs/pmndrs/packages?repo_name=zustand
Used by 867khttps://github.com/pmndrs/zustand/network/dependents
+ 867,371 https://github.com/pmndrs/zustand/network/dependents
Contributors 338https://github.com/pmndrs/zustand/graphs/contributors
https://github.com/dai-shi
https://github.com/drcmda
https://github.com/dbritto-dev
https://github.com/sukvvon
https://github.com/sewera
https://github.com/devanshj
https://github.com/apps/dependabot
https://github.com/charkour
https://github.com/AnatoleLucet
https://github.com/barbogast
https://github.com/gsimone
https://github.com/Lynncubus
https://github.com/JeremyRH
https://github.com/rnike
+ 324 contributorshttps://github.com/pmndrs/zustand/graphs/contributors
TypeScript 97.8% https://github.com/pmndrs/zustand/search?l=typescript
JavaScript 2.2% https://github.com/pmndrs/zustand/search?l=javascript
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.