# mobxjs/mobx-react-lite

Lightweight React bindings for MobX based on React 16.8 and Hooks

Repository: https://github.com/mobxjs/mobx-react-lite
Canonical: https://ross.abutalabs.com/products/mobx-react-lite
Homepage: https://mobx.js.org/react-integration.html
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, mobx, react-hooks, observables
Archived: true
Last push: 2020-12-30T16:20:49+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": 2853, "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 2118, forks 90 (observed 2026-08-28T04:06:16.423542+00:00)

## What it is
mobx-react-lite is a lightweight (1.5kB gzipped) set of React bindings for MobX, supporting functional components via Hooks (React 16.8+). It provides the observer higher-order component, an <Observer> component, and useLocalObservable to automatically track and re-render components when observables they use change.

## Use cases
- connect React function components to MobX observable state
- re-render components only when observables they read change
- create local observable state inside a component with hooks
- use MobX state management without class component support
- replace mobx-react with a smaller, faster binding for hooks-based apps
- observe a small region of a component render with <Observer>

## When to choose
- your app uses only React function components with hooks
- you want minimal bundle size and fast reactive rendering with MobX
- you prefer useContext over Provider/inject for dependency injection
- you need fine-grained automatic re-render tracking of observable state

## When to avoid
- you need class component support - use mobx-react instead
- you rely on Provider/inject APIs from mobx-react
- you target very old browsers without Proxy support and use MobX 6
- you want automatic observation via build tooling - consider mobx-react-observer plugin

## Facets
- artifact type: library
- maturity: maintenance
- function: state-management, frontend-framework
- domain: frontend, web-development, developer-tools
- platform: browser, cross-platform
- tags: react, mobx, react-hooks, observables, reactive-programming, typescript, functional-components, nodejs

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

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:16.423542+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-30T02:53:03.434016+00:00, confidence not recorded.
  - readme: https://github.com/mobxjs/mobx-react-lite (fetched 2026-08-28T04:06:16.423542+00:00, sha a8bbbb92a203)
  - homepage: https://mobx.js.org/react-integration.html (fetched 2026-08-29T10:33:34.717923+00:00, sha d9151920197d)
  - site_page: https://mobx.js.org/about-this-documentation.html (fetched 2026-08-29T10:33:34.729351+00:00, sha e64227826b90)
  - site_page: https://mobx.js.org/installation.html (fetched 2026-08-29T10:33:34.731093+00:00, sha 9b76ed88bbee)
  - site_page: https://mobx.js.org/README.html (fetched 2026-08-29T10:33:34.727344+00:00, sha 35ca024c30b1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
