Skip to content

Function: ShallowObservable() ​

ts
function ShallowObservable(): Annotation & PropertyDecorator & ClassAccessorDecorator & ClassFieldDecorator;

Defined in: src/wirestate-mobx/index.ts:189

MobX shallow observable decorator alias.

Returns ​

Annotation & PropertyDecorator & ClassAccessorDecorator & ClassFieldDecorator

observable.shallow decorator.

See ​

https://mobx.js.org/README.html