We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I migrated my project to use 4.0.0-beta.2. When using extendObservable, I receive the following error:
ReferenceError: fail is not defined
I took a look at the MobX source code and found the possible reason:
In action.ts file, and in the following line:
action.ts
arg1[arg2] = createAction(name, arg3.value)
name is not defined. Should this be something like:
name
arg1[arg2] = createAction(arg1.name || "<unnamed action>", arg3.value)
The text was updated successfully, but these errors were encountered:
Reproduced and fixed #1376
9ce985f
Thanks for reporting! Fixed in mobx@4.0.0-beta.3 (this will probably result in some peer dep errors, but you can ignore these)
mobx@4.0.0-beta.3
Sorry, something went wrong.
No branches or pull requests
I migrated my project to use 4.0.0-beta.2. When using extendObservable, I receive the following error:
ReferenceError: fail is not defined
I took a look at the MobX source code and found the possible reason:
In
action.ts
file, and in the following line:arg1[arg2] = createAction(name, arg3.value)
name
is not defined. Should this be something like:arg1[arg2] = createAction(arg1.name || "<unnamed action>", arg3.value)
The text was updated successfully, but these errors were encountered: