# facebookarchive/flux

Application Architecture for Building User Interfaces

Repository: https://github.com/facebookarchive/flux
Canonical: https://ross.abutalabs.com/products/facebookarchive-flux
Homepage: https://facebookarchive.github.io/flux/
Language: JavaScript
License: NOASSERTION
License Family: other
Archived: true
Last push: 2023-03-21T23:41:43+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4427, "days_push": 1261, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 17450, forks 3376 (observed 2026-08-28T04:11:19.831208+00:00)

## What it is
Flux is Facebook's application architecture pattern for React, using a unidirectional data flow with a Dispatcher, Stores, and Views. The npm package provides the Dispatcher and utility base classes like ReduceStore, but the project is now archived.

## Use cases
- implement unidirectional data flow in a React app
- manage application state with stores and a dispatcher
- learn the Flux architecture pattern
- build a simple React app with ReduceStore utilities

## When to choose
- maintaining a legacy codebase already built on Flux
- studying the original Flux pattern and its dispatcher

## When to avoid
- starting a new project - use Redux, MobX, Recoil, Zustand, or Jotai instead
- needing a feature-complete state management framework
- expecting ongoing updates or support

## Facets
- artifact type: library
- maturity: abandoned
- function: state-management, frontend-framework
- domain: frontend, web-development
- platform: browser
- tags: react, unidirectional-data-flow, dispatcher, flux-pattern, archived, nodejs, javascript

## Member repositories
- facebookarchive/flux (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:19.831208+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-29T17:02:57.140820+00:00, confidence not recorded.
  - readme: https://github.com/facebookarchive/flux (fetched 2026-08-28T04:11:19.831208+00:00, sha 5637ef3ec2d5)
  - homepage: https://facebookarchive.github.io/flux/ (fetched 2026-08-29T08:01:21.381874+00:00, sha c01f7659aab5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
