We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc502ad commit 52961f7Copy full SHA for 52961f7
packages/node_modules/proxy-state-tree/src/Proxyfier.ts
@@ -26,7 +26,11 @@ export class Proxifier {
26
ensureMutationTrackingIsEnabled(path) {
27
if (this.tree.master.options.devmode && !this.tree.canMutate()) {
28
throw new Error(
29
- `proxy-state-tree - You are mutating the path "${path}", but it is not allowed`
+ `proxy-state-tree - You are mutating the path "${path}", but it is not allowed. The following could have happened:
30
+
31
+ - You are passing state to a 3rd party tool trying to manipulate the state
32
+ - You are running an asynchronous action from an other action where you forgot to "await" it
33
+ `
34
)
35
}
36
0 commit comments