# mobxjs/mobx-react

React bindings for MobX

Repository: https://github.com/mobxjs/mobx-react
Canonical: https://ross.abutalabs.com/products/mobx-react
Homepage: https://mobx.js.org/react-integration.html
Language: TypeScript
License: MIT
License Family: permissive
Topics: mobx, react-components, react, reactive-programming, javascript
Archived: true
Last push: 2020-12-30T16:19:32+00:00

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

## Adoption (not part of the score)
Stars 4818, forks 341 (observed 2026-08-28T04:09:00.470949+00:00)

## What it is
mobx-react provides React bindings for the MobX state management library, exporting the `observer` higher-order component/decorator and utilities like Provider/inject and disposeOnUnmount. It supports both function and class-based React components (and React Native), complementing the lighter mobx-react-lite package.

## Use cases
- make react components re-render when mobx observables change
- connect mobx stores to react class components
- use observer decorator with react and react native
- pass stores to components with provider and inject
- automatically dispose reactions when class components unmount
- fine-grained reactive rendering without manual memoization

## When to choose
- you use MobX for state management in a React or React Native app
- you need class component support or Provider/inject that mobx-react-lite lacks
- you want automatic, minimal re-renders driven by observable state

## When to avoid
- you only use function components and hooks - prefer mobx-react-lite
- you use Redux, Zustand, or another state library
- your project does not use React

## Facets
- artifact type: library
- maturity: active
- function: state-management, frontend-framework, ui-components
- domain: frontend, web-development
- platform: cross-platform
- tags: mobx, react-bindings, observer-pattern, react-native, reactive-state, reactive-programming, nodejs, web-server

## Member repositories
- mobxjs/mobx-react (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:00.470949+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-29T18:18:33.883506+00:00, confidence not recorded.
  - readme: https://github.com/mobxjs/mobx-react (fetched 2026-08-28T04:09:00.470949+00:00, sha 8d54663193e9)
  - homepage: https://mobx.js.org/react-integration.html (fetched 2026-08-29T09:01:47.673804+00:00, sha d9151920197d)
  - site_page: https://mobx.js.org/about-this-documentation.html (fetched 2026-08-29T09:01:47.686938+00:00, sha e64227826b90)
  - site_page: https://mobx.js.org/installation.html (fetched 2026-08-29T09:01:47.689365+00:00, sha 9b76ed88bbee)
  - site_page: https://mobx.js.org/README.html (fetched 2026-08-29T09:01:47.683981+00:00, sha 35ca024c30b1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
