UNPKG

vue-mobx-finegrained

Version:

Vue 3 composable for a complete MobX state management integration.

17 lines (13 loc) 269 B
import { injectable } from 'inversify' import { makeObservable, observable } from 'mobx' @injectable() export class UserModel { email = null token = null constructor() { makeObservable(this, { email: observable, token: observable, }) } }