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
Like #51, the mobx-react-lite works with high order components to connect components to MobX stores.
mobx-react-lite
See the docs: https://mobx.js.org/react-integration.html
Workaround As a workaround, I patched the package to add observer to the reactHOCs list:
observer
reactHOCs
eslint-plugin-react-refresh/src/only-export-components.ts
Line 301 in ba9bb7b
Ideal solution A way to configure additional HOCs.
The text was updated successfully, but these errors were encountered:
Seems like a legit usecase. Instead of adding it directly, I think a new option make sens here for others/future librairies with similar pattern.
I'll keep it in my backlog, but if you want to contribute, feel free to send a PR similar to https://github.com/ArnaudBarre/eslint-plugin-react-refresh/pull/55/files?w=1!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Like #51, the
mobx-react-lite
works with high order components to connect components to MobX stores.See the docs: https://mobx.js.org/react-integration.html
Workaround
As a workaround, I patched the package to add
observer
to thereactHOCs
list:eslint-plugin-react-refresh/src/only-export-components.ts
Line 301 in ba9bb7b
Ideal solution
A way to configure additional HOCs.
The text was updated successfully, but these errors were encountered: