我一直把我的auth.onAuthStateChange().then(user => ...放在頂層React組件的componentDidMount()之內。 然後我會刪除的componentWillUnmount() 內監聽我的問題是如何將我mobx-IFY呢?我的想法是這樣的: class Store {
@observable user = null
@action
我struggeling設置我的項目正確useStrict(true) 錯誤 mobx.module.js:2238 Uncaught (in promise) Error: [mobx] Invariant failed: Since strict-mode is enabled, changing observed observable values outside actions is no