Tencent/westore
小程序MVVM分层架构 observed · 2026-08-28
Health v2 · maintenance only
68/100
- Activity 80
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4136
- days_rel: n/a
- days_push: 124
- n_releases_24m: 0
Adoption not part of the score
4284 stars · 478 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Westore is a Tencent open-source library providing an MVVM layered architecture for WeChat Mini Programs. It replaces direct setData calls with a Store-based update mechanism using deepClone and JSON diffing to compute minimal data update paths.
Use cases
- manage state in wechat mini programs
- avoid bloated page and component logic in miniprogram apps
- replace setData with a single update call
- structure mini program code with MVC/MVP/MVVM patterns
- write platform-independent business model code
- minimize setData payload with diff
When to choose
- building WeChat Mini Programs with complex business logic
- you want a thin view layer and testable model separation
- you need minimal setData paths for performance
When to avoid
- building non-miniprogram web apps where standard state libraries fit better
- very simple mini programs where the architecture adds overhead
- you need a project with a permissive license guarantee (no license file)
Facets
library · maturity active
state-management frontend-framework web-development frontend developer-tools weapp miniprogram mvvm setdata -diff store-pattern javascript wechat web
1 source
- readme: https://github.com/Tencent/westore · fetched 2026-08-28 · 6f1e890811ea
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Tencent/westore | main | 68 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem