인프런 커뮤니티 질문&답변
observable말고 useLocalObservable안에 있는 함수도 자동으로 action적용이 될까요?
작성
·
351
답변 2
1
제로초(조현영)
지식공유자
네 됩니다.
When using useLocalObservable, all properties of the returned object will be made observable automatically, getters will be turned into computed properties, and methods will be bound to the store and apply mobx transactions automatically. If new class instances are returned from the initializer, they will be kept as is.
0




