# gaearon/flux-react-router-example

A sample app showcasing Flux with React Router

Repository: https://github.com/gaearon/flux-react-router-example
Canonical: https://ross.abutalabs.com/products/flux-react-router-example
Homepage: http://gaearon.github.io/flux-react-router-example/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2017-08-25T15:09:09+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": 4393, "days_push": 3295, "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 1420, forks 171 (observed 2026-08-28T04:04:40.553185+00:00)

## What it is
A sample JavaScript application demonstrating the Flux architecture combined with React Router, using the GitHub API to display starred repos and stargazers with pagination. It documents state management patterns like store categorization and data normalization, and has since been superseded by a Redux port.

## Use cases
- learn flux architecture with react router
- example of pagination in a react app
- how to normalize nested api responses with normalizr
- see how to structure flux stores without giant switch statements
- learn higher-order components in react
- study a real-world react example app
- understand smart and dumb component patterns

## When to choose
- you specifically want to learn classic Flux architecture with React Router
- you want to study Dan Abramov's store classification and data normalization patterns
- you need a historical reference for pre-Redux React state management

## When to avoid
- you are starting a new project - the author recommends Redux instead
- you want an actively maintained example with current React versions
- you need production-ready code rather than a weekend sample

## Facets
- artifact type: learning-resource
- maturity: abandoned
- function: state-management, routing, http-client
- domain: web-development, frontend, developer-tools, tutorials
- platform: -
- tags: flux, react-router, react, example-app, redux-predecessor, normalizr, webpack, babel, es6, github-api, pagination, higher-order-components, javascript, nodejs, web-server

## Member repositories
- gaearon/flux-react-router-example (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:40.553185+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-30T04:37:48.693272+00:00, confidence not recorded.
  - readme: https://github.com/gaearon/flux-react-router-example (fetched 2026-08-28T04:04:40.553185+00:00, sha 109cd13c60a2)
  - homepage: http://gaearon.github.io/flux-react-router-example/ (fetched 2026-08-29T11:50:23.295604+00:00, sha 44136fa355b3)
  - registry_npm: https://registry.npmjs.org/flux-react-router-example (fetched 2026-08-29T11:50:23.304679+00:00, sha 41ea2f7c889d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
