Hi
I am using Mobx with React and Meteor.
when I create this class:
import {observable} from 'mobx';
class ObservableTackStore {
@observable filterObject = {
name: null,
value: null
};
addObj() {
console.log(JSON.stringify(this.filterObject));
}
}
const observableTackStore = new ObservableTackStore();
export default observableTackStore;
I give the below error.
imports/ui/mobx/states.js:4:16: /imports/ui/mobx/states.js: Missing class properties transform.
how to fix it? I don’t understand why throw this error?
thanks for help me.