mobxreact
MobX-React, commonly referred to as mobx-react, is a binding library that connects MobX state management with React applications. It enables React components to react to changes in MobX observables by re-rendering automatically when observed data changes. The core feature is the observer function, which wraps a component so that it tracks the observable values used during rendering and re-renders when those values change. The library also provides a Provider component to pass MobX stores through React context, allowing components to access stores without prop drilling.
MobX-React supports both class-based and function components. Historically, it offered an inject higher-order component to supply
Typical usage involves creating one or more MobX stores with observable properties and actions, wrapping the
Reactivity in mobx-react is driven by MobX observables and computed values. State mutations should occur inside