Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobx enabled useStrict #1994

Closed
stulip opened this issue Jul 9, 2017 · 5 comments
Closed

Mobx enabled useStrict #1994

stulip opened this issue Jul 9, 2017 · 5 comments
Labels

Comments

@stulip
Copy link

stulip commented Jul 9, 2017

[mobx] Invariant failed: Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an action if this change is intended. Tried to modify: NavigationStore@2._state

@aksonov aksonov added the bug label Jul 9, 2017
@aksonov
Copy link
Owner

aksonov commented Jul 9, 2017

Thanks, will work on it. Disable strict-mode for a while.

@stulip
Copy link
Author

stulip commented Jul 10, 2017

OK

aksonov pushed a commit that referenced this issue Jul 10, 2017
@aksonov
Copy link
Owner

aksonov commented Jul 10, 2017

Please check latest master

@aksonov aksonov closed this as completed Jul 10, 2017
@stulip
Copy link
Author

stulip commented Jul 11, 2017

Hard work, it is already possible.

@stulip
Copy link
Author

stulip commented Jul 31, 2017

console.error: "Error handling:Error: [mobx] Invariant failed: Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an action if this change is intended. Tried to modify: NavigationStore@4._onEnterHandlerExecuted"

version: 4.0.0-beta.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants