# mobxjs/mobx · RepoSense Release & Migration Intelligence

> Faster Vite transforms and conditional code generation. Update plugin options to babel.generatorOpts. Migration: Low.

## Metadata
- **Repository URL**: https://github.com/mobxjs/mobx
- **Primary Package**: `mobx` (NPM)
- **Categories**: `STATE_MANAGEMENT`
- **Latest Version**: `mobx-react-plugin@1.0.2`
- **Semantic Status**: `COMPATIBLE`
- **Bundle Size Impact (unavailable)**: `Size Unavailable`
- **Atom Ingestion Feed**: https://github.com/mobxjs/mobx/releases.atom

## The Human Context (Plain-English Pitch)
MobX is a battle-tested state management library that makes state management simple and scalable by transparently applying functional reactive programming. This package provides specialized integrations for React applications using MobX. It solves the performance overhead of tracking state changes across components by optimizing transformation pipelines and build tools.

## Stage 1 Executive Summary ([Core Change] + [Required Action] + [Migration Effort])
Faster Vite transforms and conditional code generation. Update plugin options to babel.generatorOpts. Migration: Low.

## Breaking Changes & Required Actions
- Optimized Vite plugin to skip files that cannot contain components, hooks, or flows without parsing.
- Vite plugin now restricts code generation to only run when actual changes occur.
- Moved code generation options to `babel.generatorOpts`.

## Migration Snippet
```ts
export default defineConfig({ plugins: [mobxReactPlugin({ babel: { generatorOpts: { /* options */ } } })] });
```

## Ecosystem Compatibility Matrix & Graph Warnings
- **React >=16.8** [`COMPATIBLE`]: Compatible with React hooks and functional components.
- **TypeScript >=4.0** [`COMPATIBLE`]: Fully compatible with existing TypeScript configurations.

## Zero-Noise Release Timeline
- **mobx-react-plugin@1.0.2** (2026-11-07) [COMPATIBLE]: Faster Vite transforms and conditional code generation. Update plugin options to babel.generatorOpts. Migration: Low.
- **mobx@7.1.4** (2026-11-01) [COMPATIBLE]: Ships `mobx@mobx@7.1.4` with upstream runtime refinements. Drop-in upgrade. Migration: None.

## Upgrade & Migration Q&A (GEO Direct Answers)
### Is mobxjs/mobx mobx-react-plugin@1.0.2 safe to upgrade in production?
mobxjs/mobx mobx-react-plugin@1.0.2 is classified as COMPATIBLE (PATCH release). Faster Vite transforms and conditional code generation. Update plugin options to babel.generatorOpts. Migration: Low.

### What breaking changes or compatibility risks exist in mobxjs/mobx mobx-react-plugin@1.0.2?
No breaking API changes or peer dependency conflicts are recorded for mobxjs/mobx mobx-react-plugin@1.0.2 in the RepoSense compatibility graph.

### What is the bundle size impact of mobx mobx-react-plugin@1.0.2?
Measured bundle size telemetry is currently unavailable for mobx mobx-react-plugin@1.0.2; verify build output locally before deploying.

### How do I upgrade mobx to mobx-react-plugin@1.0.2?
Upgrade mobx to mobx-react-plugin@1.0.2 by running "npm install mobx@mobx-react-plugin@1.0.2" and applying the migration steps: export default defineConfig({ plugins: [mobxReactPlugin({ babel: { generatorOpts: { /* options */ } } })] });
