mobxjs/mobx-react-lite
Lightweight React bindings for MobX based on React 16.8 and Hooks observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2853
- days_rel: n/a
- days_push: 2072
- n_releases_24m: 0
Adoption not part of the score
2118 stars · 90 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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
library · maturity maintenance
state-management frontend-framework frontend web-development developer-tools browser cross-platform react mobx react-hooks observables reactive-programming typescript functional-components nodejs
5 sources
- readme: https://github.com/mobxjs/mobx-react-lite · fetched 2026-08-28 · a8bbbb92a203
- homepage: https://mobx.js.org/react-integration.html · fetched 2026-08-29 · d9151920197d
- site_page: https://mobx.js.org/about-this-documentation.html · fetched 2026-08-29 · e64227826b90
- site_page: https://mobx.js.org/installation.html · fetched 2026-08-29 · 9b76ed88bbee
- site_page: https://mobx.js.org/README.html · fetched 2026-08-29 · 35ca024c30b1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mobxjs/mobx-react-lite | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="mobxjs/mobx-react-lite")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem