Skip to main content

What Is Zustand / Zustand-Vue / Zustand-Pub ?

Zustand

Build Size Version

A small, fast and scalable bearbones state-management solution using simplified flux principles. Has a comfy API based on hooks, isn't boilerplatey or opinionated.

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, react concurrency, and context loss 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.

Zustand-Vue

Build Size Version

zustand-vue follows the core idea of ​​zustand, the purpose is to inherit the existing ecology of zustand while being compatible with vue

You can try a live demo.

Zustand-Pub

Build Size Version

As the third party library of zustand or zustand vue, zustand-pub aims to provide the best cross-application and cross-framework state management and state sharing capabilities for Iframe、 Micro-Frontend、 Module Federation、 Modularization、 Componentization and other business scenarios.

Why do you need zustand-pub ?

This is a micro-frontend Demo.