UNPKG

mobx-vue-helper

Version:

MobX Class & JSX helpers for Vue 3 components, providing seamless integration with MobX state management for both class and function components.

38 lines (24 loc) 1.24 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.2.0] - 2025-10-07 ### Added - `@reaction()` decorator for declarative MobX reactions on class methods - Support for automatic reaction lifecycle management (initialization and disposal) ### Changed - **BREAKING**: Refactored `@observer` decorator implementation from prototype modification to class inheritance approach - Enhanced component lifecycle management for better MobX integration ## [0.1.0] - 2025-10-06 ### Added - Initial release of MobX-Vue-helper - `@observer` decorator for class components - `observer()` wrapper function for function components - Full TypeScript support with type definitions - Automatic MobX reactivity tracking for Vue 3 components ### Features - Wraps component render with MobX `<Observer />` from `mobx-vue-lite` - Compatible with `vue-facing-decorator` class components - Works seamlessly with Vue 3 composition API - Proper type inference for TypeScript users [0.1.0]: https://github.com/idea2app/MobX-Vue-helper/releases/tag/v0.1.0