🆚 Vuex vs. Zustand

Type

JavaScript library
JavaScript library

About

Vuex is an open-source state management library for Vue.js.

It provides a centralized store with State, Getters, Mutations, Actions, and Modules, restricts state changes to synchronous mutations, includes time-travel debugging and a strict mode, and is in maintenance mode with Pinia recommended for new Vue 3 projects.

Zustand is a lightweight, framework-agnostic state management library for JavaScript that works with or without React.

It provides a minimal hook-based API with no providers or reducers, selector-based subscriptions that limit re-renders, TypeScript inference, middleware for persistence and Redux DevTools, and stores usable in Node.js and other environments.

Headquarters

Tokyo, Japan

Website

Pricing

Free ✔️ Open source
Free ✔️ Open source

Categories

JavaScript Libraries › Rank #200
JavaScript Libraries › Rank #257

Popularity

Determined by the number of sites using each technology.

The Vuex JavaScript library is 4 times more popular than Zustand.
Total websites

Market share

JavaScript Libraries

Popularity by country

Determined by the number of sites detected from each country.

Vuex is more popular in the United States, Thailand, and China, while Zustand is more popular in Australia, Spain, and South Africa.
United States
Thailand
China
Canada
United Kingdom
Russia
Germany
Australia
New Zealand
France

Awards

Popularity by domain category

Determined by the number of sites in each category.

Vuex is more popular among sites focused on online shopping, marketing and merchandising, and business, while Zustand is more commonly used on alcohol sites.
Online Shopping
Marketing/Merchandising
Business
Fashion/Beauty
Entertainment
Travel
Education/Reference
Software/Hardware
Health
Internet Services

Top sites

Top-ranked sites that use these technologies.

Name
Rank
#6,271
View more ➝
Name
Rank
#26,282
#38,591
View more ➝

See also

🗃️ About This Data