brigand/react-mixin
mixins in react with es6 style classes observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4233
- days_rel: n/a
- days_push: 2898
- n_releases_24m: 0
Adoption not part of the score
1116 stars · 39 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JavaScript library that implements React's mixin strategy for ES6-style classes, allowing mixins to be applied to class prototypes or classes directly, including via decorators. It is explicitly positioned as a migration path for legacy code, since React mixins are deprecated in favor of higher-order components.
Use cases
- add mixins to React ES6 class components
- migrate legacy createClass mixins to ES6 classes
- use PureRenderMixin or react-router Lifecycle mixin with classes
- apply mixins via ES7 decorators
- convert old mixins to UNSAFE_ lifecycle format for React 16.3+
When to choose
- maintaining a legacy React codebase that still relies on mixins
- temporarily bridging createClass-era mixins into ES6 class components
- you specifically need a mixin like PureRenderMixin with class syntax
When to avoid
- starting a new React project - use higher-order components or hooks instead
- using modern React versions where mixins are fully unsupported
- you want long-term maintained tooling - the project itself calls mixins 'basically dead'
Facets
library · maturity maintenance
middleware developer-tools frontend web-development developer-tools react mixins es6-classes decorators legacy-code higher-order-components nodejs javascript
2 sources
- readme: https://github.com/brigand/react-mixin · fetched 2026-08-28 · 335166f51562
- registry_npm: https://registry.npmjs.org/react-mixin · fetched 2026-08-29 · 6406f75be817
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| brigand/react-mixin | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="brigand/react-mixin")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem