# wuba/Fair

A Flutter package used to update widget tree dynamically. Fair提供一整套Flutter动态化解决方案

Repository: https://github.com/wuba/Fair
Canonical: https://ross.abutalabs.com/products/fair
Homepage: https://fair.58.com
Language: Dart
License: BSD-3-Clause
License Family: permissive
Topics: flutter, dynamic-widget, flutter-fair, code-push, dart, dynamic, flutter-dynamic, js, jsx, react-native, android, flutter-app, flutter-examples, ios, flutter-demo, flutter-ui, flutter-apps, flutter-widget
Last push: 2024-10-25T07:58:11+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2100, "days_push": 677, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2742, forks 321 (observed 2026-08-28T04:07:16.566779+00:00)

## What it is
Fair is a dynamic framework for Flutter that converts native Dart source files via a compiler so widget trees and state can be updated dynamically without releasing a new app version. It distributes business bundles and JS to push new pages or partial UI updates over the air, similar to React Native's model.

## Use cases
- push new Flutter pages without an app store release
- hot update Flutter widget tree dynamically
- replace or patch parts of an existing Flutter page remotely
- fix UI bugs in production without waiting for the next release
- dynamically modify typography and styles of operation bits
- build a hot update platform for Flutter apps

## When to choose
- you ship a Flutter app and need over-the-air UI updates without app store review
- you want pixel-perfect dynamic pages rendered losslessly against native Flutter widgets
- you need a lightweight, low-intrusion dynamic solution with a pluggable component model

## When to avoid
- your app store policies prohibit dynamic code/UI updates
- you are not using Flutter or Dart
- you only need simple remote feature flags or config changes rather than full UI dynamism
- you need a very mature ecosystem like React Native's

## Facets
- artifact type: framework
- maturity: active
- function: mobile-framework, ui-components, plugin-system, developer-tools
- domain: mobile-development, cross-platform, frontend, developer-tools
- platform: cross-platform
- tags: flutter, dynamic-ui, hot-update, code-push, dart-compiler, widget-tree, over-the-air-updates, react-native-alternative, android, ios, mobile

## Member repositories
- wuba/Fair (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:16.566779+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:19:07.951639+00:00, confidence not recorded.
  - readme: https://github.com/wuba/Fair (fetched 2026-08-28T04:07:16.566779+00:00, sha e300f7b6e13f)
  - homepage: https://fair.58.com (fetched 2026-08-29T09:57:14.997636+00:00, sha 7b450f68a37f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
