You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Intended outcome: Similary to actions, flows can be bound by default using autoBind option. — said in the documentation makeAutoObservable(this, { }, { autoBind: true }); — not working b/c lose context
Actual outcome: makeAutoObservable(this, { logout: flow.bound }, { autoBind: true }); — working don't lose context
How to reproduce the issue:
Try to autoBind generator and it lose context
Versions "mobx": "6.3.1"
The text was updated successfully, but these errors were encountered:
Intended outcome:
Similary to actions, flows can be bound by default using autoBind option. — said in the documentation
makeAutoObservable(this, { }, { autoBind: true });
— not working b/c lose contextActual outcome:
makeAutoObservable(this, { logout: flow.bound }, { autoBind: true });
— working don't lose contextHow to reproduce the issue:
Try to
autoBind
generator and it lose contextVersions
"mobx": "6.3.1"
The text was updated successfully, but these errors were encountered: