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
Code:
@withRouter @observer export class Component extends React.PureComponent {
Intended outcome:
export const Component = withRouter(observer(class Component extends React.PureComponent {}))
or throw an error
Actual outcome:
at the moment silently changes the code to this
export const Component = observer(class Component extends React.PureComponent {})
How to reproduce the issue:
run npx mobx-undecorate
npx mobx-undecorate
Versions
mobx-undecorate: 1.0.2
The text was updated successfully, but these errors were encountered:
It would be very helpful if you can contribute a PR with a failing test for this. It will be much easier to fix without breaking anything else.
Sorry, something went wrong.
7fe753d
Released as mobx-undecorate@1.0.3
Successfully merging a pull request may close this issue.
Code:
Intended outcome:
or throw an error
Actual outcome:
at the moment silently changes the code to this
How to reproduce the issue:
run
npx mobx-undecorate
Versions
mobx-undecorate: 1.0.2
The text was updated successfully, but these errors were encountered: